2022-11-17 08:26:05 +00:00
|
|
|
QT -= gui
|
|
|
|
QT += xml
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
DEFINES += LIBCONFIG_LIBRARY
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
xmlconfig.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
2022-11-18 23:47:32 +00:00
|
|
|
libConfig.h \
|
2022-11-17 08:26:05 +00:00
|
|
|
libConfig_global.h \
|
|
|
|
xmlconfig.h
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
|
|
|
libConfig_zh_CN.ts
|
|
|
|
|
|
|
|
msvc {
|
|
|
|
QMAKE_CFLAGS += /utf-8
|
|
|
|
QMAKE_CXXFLAGS += /utf-8
|
|
|
|
}
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
unix {
|
|
|
|
target.path = /usr/lib
|
|
|
|
}
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|