GrabBag/App/ScrewPosition/ScrewPositionConfig/ScrewPositionConfig.pro

71 lines
1.8 KiB
Prolog
Raw Normal View History

CONFIG -= qt
CONFIG += qt
2026-02-19 00:58:16 +08:00
TEMPLATE = lib
CONFIG += staticlib
CONFIG += c++11
# Windows平台UTF-8编码支持
win32-msvc {
QMAKE_CXXFLAGS += /utf-8
}
# Unix平台特定配置
unix:!macx {
# 位置无关代码(用于静态库)
QMAKE_CXXFLAGS += -fPIC
}
QT += core
2026-02-19 00:58:16 +08:00
# 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/../../../SDK/Device/VzNLSDK/_Inc
INCLUDEPATH += $$PWD/../../../SDK/Device/VzNLSDK/Inc
INCLUDEPATH += $$PWD/../../../AppAlgo/rodAndBarDetection/Inc
2026-02-19 00:58:16 +08:00
SOURCES += \
Src/AlgorithmParamConverter.cpp \
Src/VrConfig.cpp \
Src/DetectionOutputConverter.cpp
2026-02-19 00:58:16 +08:00
HEADERS += \
Inc/AlgorithmParamConverter.h \
2026-02-19 00:58:16 +08:00
Inc/IVrConfig.h \
Inc/DetectionOutputConverter.h \
2026-02-19 00:58:16 +08:00
_Inc/VrConfig.h
#utils
INCLUDEPATH += $$PWD/../../../Utils/VrUtils/Inc
INCLUDEPATH += $$PWD/../../../Utils/VrUtils/tinyxml2
INCLUDEPATH += $$PWD/../../../AppUtils/AppConfig/Inc
2026-02-19 00:58:16 +08:00
# AppCommon - 公共配置结构体
INCLUDEPATH += $$PWD/../../../AppUtils/AppCommon/Inc
# ScrewPositionApp - IYScrewPositionStatus.hScrewInfo等结构体定义
INCLUDEPATH += $$PWD/../ScrewPositionApp
2026-02-19 00:58:16 +08:00
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