summaryrefslogtreecommitdiffstats
path: root/src/src.pro
diff options
context:
space:
mode:
authorAndrew Stanley-Jones <andrew.stanley-jones@nokia.com>2011-10-25 10:43:31 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-25 03:14:19 +0200
commita832acd523d4c0a46d309ae46109e34e7b70bd52 (patch)
tree1982c8c0222d3677ea4e0d7741cdb86822c50e58 /src/src.pro
parent937e3a9a27e17599e082778c5d7ec8a6ee46db2a (diff)
Allow submodules to be dislabled at qmake time
The developer when can now disable modules by using CONFIG+=without-serviceframework, etc. This is meant to allow packaging tools for upstream projects to build submodules without having to use all of QtSystems. Change-Id: Iea7a583da00c9aa1f00b22bd61f0864798e8159f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/src.pro b/src/src.pro
index 27e9a28b..02764304 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -1,3 +1,8 @@
TEMPLATE = subdirs
CONFIG += ordered
-SUBDIRS = systeminfo publishsubscribe serviceframework imports tools
+
+!without-systeminfo: SUBDIRS += systeminfo
+!without-publishsubscribe: SUBDIRS += publishsubscribe
+!without-serviceframework: SUBDIRS += serviceframework
+
+SUBDIRS += imports tools