diff options
Diffstat (limited to 'installerfw.pro')
-rw-r--r-- | installerfw.pro | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/installerfw.pro b/installerfw.pro index 6dfca3997..3f2ed2383 100644 --- a/installerfw.pro +++ b/installerfw.pro @@ -1,17 +1,23 @@ -CONFIG += ordered TEMPLATE = subdirs SUBDIRS += src tools +tools.depends = src include (installerfw.pri) include (doc/doc.pri) BUILD_TESTS = $$(BUILDTESTS) isEmpty(BUILD_TESTS):BUILD_TESTS=$${BUILDTESTS} -!isEmpty(BUILD_TESTS):SUBDIRS += tests +!isEmpty(BUILD_TESTS) { + SUBDIRS += tests + tests.depends = src +} BUILD_EXAMPLES = $$(BUILDEXAMPLES) isEmpty(BUILD_EXAMPLES):BUILD_EXAMPLES=$${BUILDEXAMPLES} -!isEmpty(BUILD_EXAMPLES):SUBDIRS += examples +!isEmpty(BUILD_EXAMPLES) { + SUBDIRS += examples + examples.depends = src +} !minQtVersion(5, 4, 0) { message("Cannot build Qt Installer Framework with Qt version $${QT_VERSION}.") |