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>
This commit is contained in:
Oswald Buddenhagen 2012-11-08 11:29:12 +01:00 committed by The Qt Project
parent 0aafef094d
commit 735738cc65

View File

@ -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