mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
The config is loaded from json files by qmake, and we define the qmake function `swiftConfig` for checking whether a feature is enabled. This function can be directly used in `buildconfig_gen.cpp.in`, so the trick with C++ comment tokens in variables is not needed.
20 lines
454 B
Prolog
20 lines
454 B
Prolog
load(common_pre)
|
|
|
|
TEMPLATE = subdirs
|
|
CONFIG += ordered
|
|
|
|
SUBDIRS += blackmisc
|
|
SUBDIRS += blackcore
|
|
SUBDIRS += blackgui
|
|
|
|
# testblackmisc.file = blackmisc/testblackmisc.pro
|
|
# testblackcore.file = blackcore/testblackcore.pro
|
|
# testblackgui.file = blackgui/testblackgui.pro
|
|
|
|
swiftConfig(sims.fsx)|swiftConfig(sims.p3d) {
|
|
SUBDIRS += testsimpluginfsxp3d
|
|
testsimpluginfsxp3d.file = blacksimpluginfsxp3d/testblacksimpluginfsxp3d.pro
|
|
}
|
|
|
|
load(common_post)
|