From 08ec2c7a620de84591552b57e396fe3fd404418c Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 20 Feb 2013 10:36:36 +0100 Subject: make it possible to explicitly exclude particular modules Task-number: QTBUG-26697 Change-Id: Id3f091be5803d922e129e6c3b5d9dfcdd297d18f Reviewed-by: Simon Hausmann --- qt.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'qt.pro') diff --git a/qt.pro b/qt.pro index 9614e433..91151678 100644 --- a/qt.pro +++ b/qt.pro @@ -1,9 +1,10 @@ # Create the super cache so modules will add themselves to it. cache(, super) -TEMPLATE = subdirs +CONFIG += build_pass # hack to disable the .qmake.super auto-add +load(qt_build_config) -CONFIG += prepare_docs qt_docs_targets testcase_targets +TEMPLATE = subdirs defineReplace(moduleName) { return(module_$$replace(1, -, _)) @@ -11,6 +12,7 @@ defineReplace(moduleName) { # Arguments: module name, [mandatory deps], [optional deps], [project file] defineTest(addModule) { + contains(QT_SKIP_MODULES, $$1): return(false) mod = $$moduleName($$1) isEmpty(4) { -- cgit v1.2.3