mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
66 lines
2.3 KiB
Plaintext
66 lines
2.3 KiB
Plaintext
## Public Area ##
|
|
|
|
BLACK_CONFIG *= BlackCore
|
|
BLACK_CONFIG *= BlackGui
|
|
BLACK_CONFIG *= BlackSound
|
|
BLACK_CONFIG *= BlackInput
|
|
BLACK_CONFIG *= Samples
|
|
BLACK_CONFIG *= Unittests
|
|
BLACK_CONFIG *= SwiftData
|
|
BLACK_CONFIG *= SwiftCore
|
|
BLACK_CONFIG *= SwiftGui
|
|
BLACK_CONFIG *= SwiftLauncher
|
|
BLACK_CONFIG *= FS9
|
|
BLACK_CONFIG *= FSX
|
|
BLACK_CONFIG *= P3D
|
|
BLACK_CONFIG *= XPlane
|
|
BLACK_CONFIG *= ProfileRelease
|
|
BLACK_CONFIG *= AssertsInRelease
|
|
#BLACK_CONFIG *= AllowNoisyWarnings
|
|
BLACK_CONFIG *= PackageInstaller
|
|
#BLACK_CONFIG *= Static
|
|
BLACK_CONFIG *= Doxygen
|
|
#BLACK_CONFIG *= SwiftDevBranch
|
|
#BLACK_CONFIG *= SwiftStableBranch
|
|
BLACK_CONFIG *= FSUIPC
|
|
|
|
isEmpty(BLACK_EOL): BLACK_EOL = "20180901"
|
|
|
|
## Private Area ##
|
|
|
|
## Dependency Checks ##
|
|
load(configure)
|
|
|
|
defineTest(CheckMandatoryDependency) {
|
|
!qtCompileTest($${1}): error(Cannot find $${1} development package. Make sure it is installed. Inspect config.log for more information.)
|
|
}
|
|
|
|
defineTest(CheckOptionalDependency) {
|
|
qtCompileTest($${1})
|
|
}
|
|
|
|
# include vatsim client id and key
|
|
include(vatsim.pri)
|
|
|
|
# Header based compiler macros
|
|
# DEFINES correspond with buildconfig_gen.cpp.in
|
|
!contains(BLACK_CONFIG, BlackSound) { DEFINE_WITH_BLACKSOUND = "//" }
|
|
!contains(BLACK_CONFIG, BlackInput) { DEFINE_WITH_BLACKINPUT = "//" }
|
|
!contains(BLACK_CONFIG, BlackCore) { DEFINE_WITH_BLACKCORE = "//" }
|
|
!contains(BLACK_CONFIG, BlackGui) { DEFINE_WITH_BLACKGUI = "//" }
|
|
!contains(BLACK_CONFIG, SwiftData) { DEFINE_WITH_SWIFTDATA = "//" }
|
|
!contains(BLACK_CONFIG, SwiftGui) { DEFINE_WITH_SWIFTGUI = "//" }
|
|
!contains(BLACK_CONFIG, SwiftCore) { DEFINE_WITH_SWIFTCORE = "//" }
|
|
!contains(BLACK_CONFIG, P3D) { DEFINE_WITH_P3D = "//" }
|
|
!contains(BLACK_CONFIG, FSX) { DEFINE_WITH_FSX = "//" }
|
|
!contains(BLACK_CONFIG, FS9) { DEFINE_WITH_FS9 = "//" }
|
|
!contains(BLACK_CONFIG, FSUIPC) { DEFINE_WITH_FSUIPC = "//" }
|
|
!contains(BLACK_CONFIG, XPlane) { DEFINE_WITH_XPLANE = "//" }
|
|
!contains(BLACK_CONFIG, SwiftDevBranch) { DEFINE_SWIFT_DEV_BRANCH = "//" }
|
|
!contains(BLACK_CONFIG, SwiftStableBranch) { DEFINE_SWIFT_STABLE_BRANCH = "//" }
|
|
!contains(BLACK_CONFIG, SwiftVatsimSupport) { DEFINE_SWIFT_VATSIM_SUPPORT = "//" }
|
|
|
|
# Global compiler Macros
|
|
contains(BLACK_CONFIG, Static) { DEFINES *= WITH_STATIC }
|
|
contains(BLACK_CONFIG, AssertsInRelease) { DEFINES *= QT_FORCE_ASSERTS }
|