diff options
author | Alex <qt-info@nokia.com> | 2011-06-15 11:17:03 +1000 |
---|---|---|
committer | Alex <qt-info@nokia.com> | 2011-06-15 11:17:03 +1000 |
commit | b7eca54c032b2ef4c596daaf536e601f112da925 (patch) | |
tree | d5393c2682d4fd995e65f32a0aec989ab54c0e1a /qtlocation.pro | |
parent | bec9b60361be1eff7d3a751bafd98234d8f100c0 (diff) | |
download | qtlocation-b7eca54c032b2ef4c596daaf536e601f112da925.tar.gz |
honour the configure -nomake tests/demos/examples flags in qtlocation
Diffstat (limited to 'qtlocation.pro')
-rw-r--r-- | qtlocation.pro | 12 |
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 \ |