refs #461 Use the REQUIRES variable in the leaf projects instead of conditions at the SUBDIRS level.

This commit is contained in:
Mathew Sutcliffe
2015-11-23 20:55:38 +00:00
parent d32f211a71
commit 9968ccbbdb
21 changed files with 53 additions and 59 deletions

View File

@@ -1,5 +1,7 @@
load(common_pre)
REQUIRES += contains(BLACK_CONFIG,FS9)
QT += core dbus gui network concurrent xml
TARGET = simulatorfs9

View File

@@ -1,5 +1,7 @@
load(common_pre)
REQUIRES += contains(BLACK_CONFIG,FSX|FS9)
QT += core dbus concurrent xml
TARGET = simulatorfscommon

View File

@@ -1,5 +1,7 @@
load(common_pre)
REQUIRES += contains(BLACK_CONFIG,FSX)
QT += core dbus gui network concurrent xml
TARGET = simulatorfsx

View File

@@ -1,5 +1,7 @@
load(common_pre)
REQUIRES += contains(BLACK_CONFIG,FSX)
QT += core widgets dbus network
TARGET = simulatorfsxconfig

View File

@@ -3,21 +3,11 @@ load(common_pre)
TEMPLATE = subdirs
CONFIG += ordered
if (contains(BLACK_CONFIG, FSX) | contains(BLACK_CONFIG, 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
}
SUBDIRS += fscommon
SUBDIRS += fsx
SUBDIRS += fsxconfig
SUBDIRS += fs9
SUBDIRS += xplane
SUBDIRS += xplaneconfig
load(common_post)

View File

@@ -1,5 +1,7 @@
load(common_pre)
REQUIRES += contains(BLACK_CONFIG,XPlane)
QT += core dbus network
TARGET = simulatorxplane

View File

@@ -1,5 +1,7 @@
load(common_pre)
REQUIRES += contains(BLACK_CONFIG,XPlane)
QT += core widgets dbus
TARGET = simulatorxplaneconfig