Build subfolder FSX only when enabled in the config.

This commit is contained in:
Roland Winklmeier
2014-04-01 15:18:02 +02:00
parent f601334ffa
commit c4d3e85664

View File

@@ -25,11 +25,14 @@ else: PRE_TARGETDEPS += ../../lib/libblackmisc.a
HEADERS += *.h
SOURCES += *.cpp
HEADERS += $$PWD/fscommon/*.h
SOURCES += $$PWD/fscommon/*.cpp
HEADERS += $$PWD/fsx/*.h
SOURCES += $$PWD/fsx/*.cpp
contains(BLACK_CONFIG, FSX) {
HEADERS += $$PWD/fsx/*.h
SOURCES += $$PWD/fsx/*.cpp
}
DESTDIR = ../../lib