summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qtsvg.pro8
1 files changed, 8 insertions, 0 deletions
diff --git a/qtsvg.pro b/qtsvg.pro
index d75ae01..8688a78 100644
--- a/qtsvg.pro
+++ b/qtsvg.pro
@@ -1,15 +1,23 @@
TEMPLATE = subdirs
+message($$QT_BUILD_PARTS)
+
module_qtsvg_src.subdir = src
module_qtsvg_src.target = module-qtsvg-src
module_qtsvg_examples.subdir = examples
module_qtsvg_examples.target = module-qtsvg-examples
module_qtsvg_examples.depends = module_qtsvg_src
+!contains(QT_BUILD_PARTS,examples) {
+ module_qtsvg_examples.CONFIG += no_default_install no_default_target
+}
module_qtsvg_demos.subdir = demos
module_qtsvg_demos.target = module-qtsvg-demos
module_qtsvg_demos.depends = module_qtsvg_src
+!contains(QT_BUILD_PARTS,demos) {
+ module_qtsvg_demos.CONFIG += no_default_install no_default_target
+}
module_qtsvg_tests.subdir = tests
module_qtsvg_tests.target = module-qtsvg-tests