mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #624 Use conditional SUBDIRS instead of REQUIRES for enabling/disabling subprojects.
This commit is contained in:
@@ -3,11 +3,19 @@ load(common_pre)
|
||||
TEMPLATE = subdirs
|
||||
CONFIG += ordered
|
||||
|
||||
SUBDIRS += fscommon
|
||||
SUBDIRS += fsx
|
||||
SUBDIRS += fsxconfig
|
||||
SUBDIRS += fs9
|
||||
SUBDIRS += xplane
|
||||
SUBDIRS += xplaneconfig
|
||||
contains(BLACK_CONFIG,FSX|FS9) {
|
||||
SUBDIRS += fscommon
|
||||
}
|
||||
contains(BLACK_CONFIG,FSX) {
|
||||
SUBDIRS += fsx
|
||||
SUBDIRS += fsxconfig
|
||||
}
|
||||
contains(BLACK_CONFIG,FS9) {
|
||||
SUBDIRS += fs9
|
||||
}
|
||||
contains(BLACK_CONFIG,XPlane) {
|
||||
SUBDIRS += xplane
|
||||
SUBDIRS += xplaneconfig
|
||||
}
|
||||
|
||||
load(common_post)
|
||||
|
||||
Reference in New Issue
Block a user