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