summaryrefslogtreecommitdiff
path: root/qtlocation.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-07-03 21:38:53 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-11 23:46:56 +0200
commitf72ea94f897baffc306bf972ec35f9d59ad59855 (patch)
tree47d632772fd5016760dc44ee38443dcc9922cb37 /qtlocation.pro
parentaa41db38b4d0858929617611cfa4a1daf9decb66 (diff)
downloadqtlocation-f72ea94f897baffc306bf972ec35f9d59ad59855.tar.gz
use centralized handling of QT_BUILD_PARTS
Change-Id: Ib689191802632e2f1ab3968c48d4a1fb72f18d5c Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'qtlocation.pro')
-rw-r--r--qtlocation.pro29
1 files changed, 4 insertions, 25 deletions
diff --git a/qtlocation.pro b/qtlocation.pro
index 514a265c..2016f994 100644
--- a/qtlocation.pro
+++ b/qtlocation.pro
@@ -3,31 +3,10 @@ qtCompileTest(locationd)
qtCompileTest(geoclue)
qtCompileTest(gypsy)
-TEMPLATE = subdirs
-
-module_qtlocation_src.subdir = src
-module_qtlocation_src.target = module-qtlocation-src
-
-module_qtlocation_examples.subdir = examples
-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_install
-!contains(QT_BUILD_PARTS,tests) {
- module_qtlocation_tests.CONFIG += no_default_target
-}
+load(qt_parts)
module_qtlocation_doc.subdir = doc/src
-module_qtlocation_doc.target = module-qtlocation-doc
-module_qtlocation_doc.depends = module_qtlocation_src
+module_qtlocation_doc.target = sub-doc
+module_qtlocation_doc.depends = sub_src
-SUBDIRS += module_qtlocation_src \
- module_qtlocation_examples \
- module_qtlocation_tests \
- module_qtlocation_doc
+SUBDIRS += module_qtlocation_doc