summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-11-08 11:29:12 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-08 16:59:50 +0100
commit735738cc65a9dab648f29f976ffe7975f6fdc5b1 (patch)
treef461263064140ed30c90f4fa75698afb2541cee3
parent0aafef094df29d754eae683837444e74c4465dce (diff)
add support for per-module QT_BUILD_PARTS overrides
this makes it possible to configure with -nomake tests, but have, e.g., QTSVG_BUILD_PARTS="libs tools examples tests" to enable tests specifically in the svg module. Change-Id: I925ab955ac32ec3e311c2a852a51b098fd4e0ea3 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r--mkspecs/features/qt_parts.prf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/features/qt_parts.prf b/mkspecs/features/qt_parts.prf
index 94f58ffdcc..ebbe789deb 100644
--- a/mkspecs/features/qt_parts.prf
+++ b/mkspecs/features/qt_parts.prf
@@ -2,6 +2,9 @@ load(qt_build_config)
TEMPLATE = subdirs
+bp = $$eval($$upper($$TARGET)_BUILD_PARTS)
+!isEmpty(bp): QT_BUILD_PARTS = $$bp
+
sub_src.subdir = src
sub_src.target = sub-src
SUBDIRS = sub_src