summaryrefslogtreecommitdiff
path: root/qtlocation.pro
diff options
context:
space:
mode:
authorAlex <qt-info@nokia.com>2011-06-15 11:17:03 +1000
committerAlex <qt-info@nokia.com>2011-06-15 11:17:03 +1000
commitb7eca54c032b2ef4c596daaf536e601f112da925 (patch)
treed5393c2682d4fd995e65f32a0aec989ab54c0e1a /qtlocation.pro
parentbec9b60361be1eff7d3a751bafd98234d8f100c0 (diff)
downloadqtlocation-b7eca54c032b2ef4c596daaf536e601f112da925.tar.gz
honour the configure -nomake tests/demos/examples flags in qtlocation
Diffstat (limited to 'qtlocation.pro')
-rw-r--r--qtlocation.pro12
1 files changed, 10 insertions, 2 deletions
diff --git a/qtlocation.pro b/qtlocation.pro
index a5d63662..95a619f2 100644
--- a/qtlocation.pro
+++ b/qtlocation.pro
@@ -6,18 +6,26 @@ module_qtlocation_src.target = module-qtlocation-src
module_qtlocation_demos.subdir = demos
module_qtlocation_demos.target = module-qtlocation-demos
module_qtlocation_demos.depends = module_qtlocation_src
+!contains(QT_BUILD_PARTS,demos) {
+ module_qtlocation_demos.CONFIG += no_default_install no_default_target
+}
module_qtlocation_examples.subdir = examples/declarative
module_qtlocation_examples.target = module-qtlocation-examples
module_qtlocation_examples.depends = module_qtlocation_src
+!contains(QT_BUILD_PARTS,examples) {
+ module_qtlocation_examples.CONFIG += no_default_install no_default_target
+}
module_qtlocation_tests.subdir = tests
module_qtlocation_tests.target = module-qtlocation-tests
module_qtlocation_tests.depends = module_qtlocation_src
-module_qtlocation_tests.CONFIG = no_default_target no_default_install
+!contains(QT_BUILD_PARTS,tests) {
+ module_qtlocation_tests.CONFIG = no_default_target no_default_install
+}
SUBDIRS += module_qtlocation_src \
module_qtlocation_demos \
module_qtlocation_examples \
-# module_qtlocation_tests \
+ module_qtlocation_tests \