diff options
author | Eckhart Koppen <eckhart.koppen@nokia.com> | 2011-05-13 21:49:55 +0300 |
---|---|---|
committer | Eckhart Koppen <eckhart.koppen@nokia.com> | 2011-05-13 21:49:55 +0300 |
commit | 74f60845435f6c379b6c2f3da219e9288b98f5bc (patch) | |
tree | b568ef268331c21d79e86998598a07dd3fe47102 | |
parent | 16379aa1683321cc56957bafc6180512ab9641b7 (diff) | |
download | qtsvg-74f60845435f6c379b6c2f3da219e9288b98f5bc.tar.gz |
Honor -nomake for examples and demos
Don't build or install demos and examples when they are disabled.
Reviewed-by: TrustMe
-rw-r--r-- | qtsvg.pro | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |