mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +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.
38 lines
664 B
Prolog
38 lines
664 B
Prolog
load(common_pre)
|
|
|
|
TEMPLATE = subdirs
|
|
CONFIG += ordered
|
|
|
|
SUBDIRS += blackconfig
|
|
SUBDIRS += blackmisc
|
|
swiftConfig(libs.blacksound) {
|
|
SUBDIRS += blacksound
|
|
}
|
|
swiftConfig(libs.blackinput) {
|
|
SUBDIRS += blackinput
|
|
}
|
|
swiftConfig(libs.blackcore) {
|
|
SUBDIRS += blackcore
|
|
}
|
|
swiftConfig(libs.blackgui) {
|
|
SUBDIRS += blackgui
|
|
}
|
|
swiftConfig(apps.swiftgui) {
|
|
SUBDIRS += swiftguistandard
|
|
}
|
|
swiftConfig(apps.swiftcore) {
|
|
SUBDIRS += swiftcore
|
|
}
|
|
swiftConfig(apps.swiftdata) {
|
|
SUBDIRS += swiftdata
|
|
}
|
|
swiftConfig(apps.swiftlauncher) {
|
|
SUBDIRS += swiftlauncher
|
|
}
|
|
swiftConfig(sims.xplane) {
|
|
SUBDIRS += xswiftbus
|
|
}
|
|
SUBDIRS += plugins
|
|
|
|
load(common_post)
|