summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-07-03 21:39:25 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-11 23:48:03 +0200
commit4bf74dece7e64fd6d24b4d6cb4aea27909113f7f (patch)
tree0c5cf49ee2e2ed34f6694168aa72df4f77eb8d0a
parentafe12ea4de29500530b1e1fabef39e79e047053e (diff)
downloadqtmultimedia-4bf74dece7e64fd6d24b4d6cb4aea27909113f7f.tar.gz
use centralized handling of QT_BUILD_PARTS
Change-Id: I9f4b70bf2dc19dc75e6490a7c5430b11add0b0f5 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
-rw-r--r--qtmultimedia.pro27
1 files changed, 4 insertions, 23 deletions
diff --git a/qtmultimedia.pro b/qtmultimedia.pro
index 645685aea..e025d1819 100644
--- a/qtmultimedia.pro
+++ b/qtmultimedia.pro
@@ -17,33 +17,14 @@ win32 {
qtCompileTest(xvideo)
}
-TEMPLATE = subdirs
-
-module_qtmultimedia_src.subdir = src
-module_qtmultimedia_src.target = module-qtmultimedia-src
-
-module_qtmultimedia_examples.subdir = examples
-module_qtmultimedia_examples.target = module-qtmultimedia-examples
-module_qtmultimedia_examples.depends = module_qtmultimedia_src
-!contains(QT_BUILD_PARTS,examples) {
- module_qtmultimedia_examples.CONFIG = no_default_target no_default_install
-}
-
-module_qtmultimedia_tests.subdir = tests
-module_qtmultimedia_tests.target = module-qtmultimedia-tests
-module_qtmultimedia_tests.depends = module_qtmultimedia_src
-module_qtmultimedia_tests.CONFIG = no_default_install
-!contains(QT_BUILD_PARTS,tests):module_qtmultimedia_tests.CONFIG += no_default_target
+load(qt_parts)
module_qtmultimedia_docsnippets.subdir = doc
-module_qtmultimedia_docsnippets.target = module-qtmultimedia-doc
-module_qtmultimedia_docsnippets.depends = module_qtmultimedia_src
+module_qtmultimedia_docsnippets.target = sub-doc
+module_qtmultimedia_docsnippets.depends = sub_src
module_qtmultimedia_docsnippets.CONFIG = no_default_install
-SUBDIRS += module_qtmultimedia_src \
- module_qtmultimedia_examples \
- module_qtmultimedia_tests \
- module_qtmultimedia_docsnippets \
+SUBDIRS += module_qtmultimedia_docsnippets
# for make docs:
include(doc/config/qtmultimedia_doc.pri)