mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55: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.
31 lines
522 B
Prolog
31 lines
522 B
Prolog
load(common_pre)
|
|
|
|
TEMPLATE = subdirs
|
|
CONFIG += ordered
|
|
|
|
OTHER_FILES += mkspecs/features/*.prf
|
|
OTHER_FILES += mkspecs/features/*.pri
|
|
OTHER_FILES += *.supp
|
|
OTHER_FILES += .astylerc
|
|
|
|
CheckMandatoryDependency(gl)
|
|
CheckMandatoryDependency(glu)
|
|
CheckMandatoryDependency(libpng)
|
|
CheckMandatoryDependency(zlib)
|
|
|
|
swiftConfig(doxygen) {
|
|
SUBDIRS += docs
|
|
}
|
|
SUBDIRS += resources
|
|
SUBDIRS += src
|
|
swiftConfig(samples) {
|
|
SUBDIRS += samples
|
|
}
|
|
swiftConfig(unitTests) {
|
|
SUBDIRS += tests
|
|
}
|
|
|
|
include(install.pri)
|
|
|
|
load(common_post)
|