#CONFIG -= qt TEMPLATE = lib CONFIG += staticlib c++17 DEFINES += HANDEYECALIB_LIBRARY # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 INCLUDEPATH += ./Inc INCLUDEPATH += ./_Inc INCLUDEPATH += ./Utils/Inc SOURCES += \ Src/HandEyeCalib.cpp \ Utils/Src/CoordinateTransform.cpp HEADERS += \ Inc/IHandEyeCalib.h \ Inc/HandEyeCalib_global.h \ Inc/HandEyeCalibTypes.h \ _Inc/HandEyeCalib.h \ Utils/Inc/CoordinateTypes.h \ Utils/Inc/CoordinateTransform.h # Eigen库 INCLUDEPATH += $$PWD/../../SDK/eigen-3.3.9 # Eigen库 INCLUDEPATH += $$PWD/../../SDK/eigen-3.3.9 # common inc INCLUDEPATH += $$PWD/../../VrCommon/Inc # Default rules for deployment. unix { target.path = /usr/lib QMAKE_CXXFLAGS += -fPIC } !isEmpty(target.path): INSTALLS += target # Windows specific win32 { QMAKE_CXXFLAGS += /utf-8 CONFIG(debug, debug|release) { TARGET = HandEyeCalibd } else { TARGET = HandEyeCalib } }