diff options
author | kh1 <karsten.heimrich@digia.com> | 2014-06-24 11:58:59 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2014-06-24 17:31:29 +0200 |
commit | 4272fc8a65e6d5ad6bfe1ea45039a2ac300defb6 (patch) | |
tree | 3bee9783dd3faa31670f20457a67033c69c9a63a /installerfw.pro | |
parent | c6b1dee923e57eab038508fd877e4c1541657256 (diff) |
Revert "Make the auto tests available by default."
This reverts commit fca72823ea2a9c627e86d2fb769929999ed6fe43
to speed up compilation on slower systems. It introduces the
possibility to set an environment variable or pass BUILDTESTS
as argument to qmake to make the tests available.
Change-Id: Iab5846473bac2dddbec85b45a7a7ad70552171a4
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'installerfw.pro')
-rw-r--r-- | installerfw.pro | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/installerfw.pro b/installerfw.pro index 9eed1347f..f816aa82f 100644 --- a/installerfw.pro +++ b/installerfw.pro @@ -1,10 +1,14 @@ CONFIG += ordered TEMPLATE = subdirs -SUBDIRS += src tests tools +SUBDIRS += src tools include (installerfw.pri) include (doc/doc.pri) +BUILD_TESTS = $$(BUILDTESTS) +isEmpty(BUILD_TESTS):BUILD_TESTS=$${BUILDTESTS} +!isEmpty(BUILD_TESTS):SUBDIRS += tests + !minQtVersion(5, 3, 0) { message("Cannot build Qt Installer Framework with Qt version $${QT_VERSION}.") error("Use at least Qt 5.3.0.") |