refs #624 Use conditional SUBDIRS instead of REQUIRES for enabling/disabling subprojects.

This commit is contained in:
Mathew Sutcliffe
2016-03-21 00:57:27 +00:00
parent a895cc2c54
commit 1801616953
20 changed files with 50 additions and 52 deletions

View File

@@ -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)