summaryrefslogtreecommitdiff
path: root/qtsvg.pro
diff options
context:
space:
mode:
authorEckhart Koppen <eckhart.koppen@nokia.com>2011-05-13 21:49:55 +0300
committerEckhart Koppen <eckhart.koppen@nokia.com>2011-05-13 21:49:55 +0300
commit74f60845435f6c379b6c2f3da219e9288b98f5bc (patch)
treeb568ef268331c21d79e86998598a07dd3fe47102 /qtsvg.pro
parent16379aa1683321cc56957bafc6180512ab9641b7 (diff)
downloadqtsvg-74f60845435f6c379b6c2f3da219e9288b98f5bc.tar.gz
Honor -nomake for examples and demos
Don't build or install demos and examples when they are disabled. Reviewed-by: TrustMe
Diffstat (limited to 'qtsvg.pro')
-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