mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
60 lines
1.5 KiB
Prolog
60 lines
1.5 KiB
Prolog
include ($$SourceRoot/config.pri)
|
|
include ($$SourceRoot/build.pri)
|
|
|
|
QT += network dbus xml
|
|
|
|
TARGET = blackmisc
|
|
TEMPLATE = lib
|
|
CONFIG += c++11
|
|
|
|
contains(BLACK_CONFIG, Static) {
|
|
CONFIG += staticlib
|
|
}
|
|
|
|
INCLUDEPATH += ..
|
|
# DEPENDPATH += . .. // BlackMisc should be independent
|
|
# PRECOMPILED_HEADER = stdpch.h
|
|
precompile_header:!isEmpty(PRECOMPILED_HEADER) {
|
|
DEFINES += USING_PCH
|
|
}
|
|
|
|
DEFINES += LOG_IN_FILE BUILD_BLACKMISC_LIB
|
|
RESOURCES += blackmisc.qrc
|
|
|
|
# lupdate (from cmd, e.g. lupdate blackmisc.pro)
|
|
CODECFORTR = UTF-8
|
|
TRANSLATIONS += translations/blackmisc_i18n_de.ts \
|
|
translations/blackmisc_i18n_fr.ts \
|
|
translations/blackmisc_i18n_en.ts
|
|
|
|
HEADERS += *.h \
|
|
$$PWD/pq/*.h \
|
|
$$PWD/aviation/*.h \
|
|
$$PWD/math/*.h \
|
|
$$PWD/network/*.h \
|
|
$$PWD/geo/*.h \
|
|
$$PWD/hardware/*.h \
|
|
$$PWD/audio/*.h \
|
|
$$PWD/simulation/*.h \
|
|
$$PWD/simulation/fscommon/*.h \
|
|
$$PWD/simulation/fsx/*.h
|
|
|
|
SOURCES += *.cpp \
|
|
$$PWD/pq/*.cpp \
|
|
$$PWD/aviation/*.cpp \
|
|
$$PWD/math/*.cpp \
|
|
$$PWD/network/*.cpp \
|
|
$$PWD/hardware/*.cpp \
|
|
$$PWD/geo/*.cpp \
|
|
$$PWD/audio/*.cpp \
|
|
$$PWD/simulation/*.cpp \
|
|
$$PWD/simulation/fscommon/*.cpp \
|
|
$$PWD/simulation/fsx/*.cpp
|
|
|
|
DESTDIR = $$BuildRoot/lib
|
|
DLLDESTDIR = $$BuildRoot/bin
|
|
|
|
OTHER_FILES += $$TRANSLATIONS readme.txt
|
|
|
|
include ($$SourceRoot/libraries.pri)
|