use centralized handling of QT_BUILD_PARTS
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 3 Jul 2012 19:43:31 +0000 (21:43 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Wed, 11 Jul 2012 21:53:54 +0000 (23:53 +0200)
Change-Id: I3cf1aeeec697f39ec5fa21fe84731b12c36d54f1
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
qtwayland.pro

index 4a80275..fa2822b 100644 (file)
@@ -2,27 +2,4 @@ load(configure)
 qtCompileTest(xkbcommon)
 qtCompileTest(brcm_egl)
 
-TEMPLATE=subdirs
-CONFIG += ordered
-
-module_qtwayland_src.subdir = src
-module_qtwayland_src.target = module-qtwayland-src
-
-module_qtwayland_examples.subdir = examples
-module_qtwayland_examples.target = module-qtwayland-examples
-module_qtwayland_examples.depends = module_qtwayland_src
-!contains(QT_BUILD_PARTS,examples) {
-    module_qtwayland_examples.CONFIG = no_default_target no_default_install
-}
-
-module_qtwayland_tests.subdir = tests
-module_qtwayland_tests.target = module-qtwayland-tests
-module_qtwayland_tests.depends = module_qtwayland_src
-module_qtwayland_tests.CONFIG = no_default_install
-!contains(QT_BUILD_PARTS,tests):{
-    module_qtwayland_tests.CONFIG += no_default_target
-}
-
-SUBDIRS += module_qtwayland_src \
-           module_qtwayland_examples \
-           module_qtwayland_tests
+load(qt_parts)