summaryrefslogtreecommitdiffstats
path: root/qtsensors.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-07-03 21:41:47 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-11 23:52:52 +0200
commit5bca65137d16bac7da4bf5e2ec87cec2a286d903 (patch)
tree75f2a7930b5dd7659a1207a270dcab560165c73a /qtsensors.pro
parentffbee9903b993c0487b825af32f49fc6f8989492 (diff)
use centralized handling of QT_BUILD_PARTS
Change-Id: Ib50f58e03eca48212cb05389257e248d44ca7ebb Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'qtsensors.pro')
-rw-r--r--qtsensors.pro26
1 files changed, 3 insertions, 23 deletions
diff --git a/qtsensors.pro b/qtsensors.pro
index 575c2264..daeb9760 100644
--- a/qtsensors.pro
+++ b/qtsensors.pro
@@ -1,29 +1,9 @@
-TEMPLATE = subdirs
-
-SUBDIRS += module_qtsensors_src
-module_qtsensors_src.subdir = src
-module_qtsensors_src.target = module-qtsensors-src
-
-SUBDIRS += module_qtsensors_tests
-module_qtsensors_tests.subdir = tests
-module_qtsensors_tests.target = module-qtsensors-tests
-module_qtsensors_tests.depends = module_qtsensors_src
-!contains(QT_BUILD_PARTS,tests) {
- module_qtsensors_tests.CONFIG += no_default_target no_default_install
-}
-
-SUBDIRS += module_qtsensors_examples
-module_qtsensors_examples.subdir = examples
-module_qtsensors_examples.target = module-qtsensors-examples
-module_qtsensors_examples.depends = module_qtsensors_src
-!contains(QT_BUILD_PARTS,examples) {
- module_qtsensors_examples.CONFIG = no_default_target no_default_install
-}
+load(qt_parts)
SUBDIRS += module_qtsensors_snippets
module_qtsensors_snippets.subdir = doc/src/snippets
-module_qtsensors_snippets.target = module-qtsensors-snippets
-module_qtsensors_snippets.depends = module_qtsensors_src
+module_qtsensors_snippets.target = sub-snippets
+module_qtsensors_snippets.depends = sub_src
# Commands to rebuild the plugin.qmltypes files for our imports
# Run "make rebuild_qmltypes" after completing a build