2025-11-01 17:39:39 +08:00
|
|
|
|
#CONFIG -= qt
|
|
|
|
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
CONFIG += staticlib
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
|
|
|
|
# Output directory configuration
|
|
|
|
|
|
TARGET = WorkpieceConfig
|
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
|
|
Src/VrConfig.cpp
|
|
|
|
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
|
|
Inc/IVrConfig.h \
|
|
|
|
|
|
_Inc/VrConfig.h
|
|
|
|
|
|
|
|
|
|
|
|
#utils
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../../../VrUtils/Inc
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../../../VrUtils/tinyxml2
|
|
|
|
|
|
|
2025-11-09 21:01:51 +08:00
|
|
|
|
# AppCommon - 公共配置结构体
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../../../AppUtils/AppCommon/Inc
|
|
|
|
|
|
|
2025-11-01 17:39:39 +08:00
|
|
|
|
win32:CONFIG(debug, debug|release) {
|
|
|
|
|
|
LIBS += -L../../../VrUtils/Debug -lVrUtils
|
|
|
|
|
|
}else:win32:CONFIG(release, debug|release){
|
|
|
|
|
|
LIBS += -L../../../VrUtils/release -lVrUtils
|
|
|
|
|
|
}else:unix:!macx {
|
|
|
|
|
|
# Unix/Linux平台库链接(including cross-compilation)
|
|
|
|
|
|
LIBS += -L../../../VrUtils -lVrUtils
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
|
|
unix {
|
|
|
|
|
|
target.path = /usr/lib
|
|
|
|
|
|
}
|
|
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|