70 lines
1.9 KiB
Prolog
70 lines
1.9 KiB
Prolog
CONFIG -= qt
|
|
CONFIG += qt
|
|
|
|
TEMPLATE = lib
|
|
CONFIG += staticlib
|
|
CONFIG += c++11
|
|
|
|
|
|
# Windows骞冲彴UTF-8缂栫爜鏀寔
|
|
win32-msvc {
|
|
QMAKE_CXXFLAGS += /utf-8
|
|
}
|
|
|
|
# Unix骞冲彴鐗瑰畾閰嶇疆
|
|
unix:!macx {
|
|
# 浣嶇疆鏃犲叧浠g爜锛堢敤浜庨潤鎬佸簱锛? QMAKE_CXXFLAGS += -fPIC
|
|
}
|
|
|
|
QT += core
|
|
|
|
# Output directory configuration
|
|
TARGET = ScrewPositionConfig
|
|
|
|
# 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 += $$PWD/../../../Device/SDK/VzNLSDK/_Inc
|
|
INCLUDEPATH += $$PWD/../../../Device/SDK/VzNLSDK/Inc
|
|
INCLUDEPATH += $$PWD/../../../AppAlgo/rodAndBarDetection/Inc
|
|
|
|
SOURCES += \
|
|
Src/AlgorithmParamConverter.cpp \
|
|
Src/VrConfig.cpp \
|
|
Src/DetectionOutputConverter.cpp
|
|
|
|
HEADERS += \
|
|
Inc/AlgorithmParamConverter.h \
|
|
Inc/IVrConfig.h \
|
|
Inc/DetectionOutputConverter.h \
|
|
_Inc/VrConfig.h
|
|
|
|
#utils
|
|
INCLUDEPATH += $$PWD/../../../Utils/VrUtils/Inc
|
|
INCLUDEPATH += $$PWD/../../../Utils/VrUtils/tinyxml2
|
|
INCLUDEPATH += $$PWD/../../../AppUtils/AppConfig/Inc
|
|
|
|
# AppCommon - 鍏叡閰嶇疆缁撴瀯浣?
|
|
INCLUDEPATH += $$PWD/../../../AppUtils/AppCommon/Inc
|
|
|
|
# ScrewPositionApp - IYScrewPositionStatus.h锛圫crewInfo绛夌粨鏋勪綋瀹氫箟锛?
|
|
INCLUDEPATH += $$PWD/../ScrewPositionApp
|
|
|
|
win32:CONFIG(debug, debug|release) {
|
|
LIBS += -L../../../Utils/VrUtils/Debug -lVrUtils
|
|
}else:win32:CONFIG(release, debug|release){
|
|
LIBS += -L../../../Utils/VrUtils/release -lVrUtils
|
|
}else:unix:!macx {
|
|
# Unix/Linux骞冲彴搴撻摼鎺ワ紙including cross-compilation锛?
|
|
LIBS += -L../../../Utils/VrUtils -lVrUtils
|
|
}
|
|
|
|
# Default rules for deployment.
|
|
unix {
|
|
target.path = /usr/lib
|
|
}
|
|
!isEmpty(target.path): INSTALLS += target
|