diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-04-11 10:28:47 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-14 12:28:42 +0200 |
commit | 9615e7fbf439d0b2b9476ea7cb15ad145e675583 (patch) | |
tree | 6285dc2d3e9f3277d92aeed8a258fba9db1040f3 | |
parent | 1399fc2c3e2287de88ed3253476ea7f1b5d87937 (diff) | |
download | qtconnectivity-9615e7fbf439d0b2b9476ea7cb15ad145e675583.tar.gz |
Build snippets during developer builds with examples only.
This replaces an earlier Android specific solution against
a more generic solution.
Task-number: QTBUG-37638
Change-Id: I472ea48567e872c658094a5576b9260bf2d02c89
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rw-r--r-- | src/src.pro | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/src.pro b/src/src.pro index 6ab12bda..cf918574 100644 --- a/src/src.pro +++ b/src/src.pro @@ -3,14 +3,19 @@ TEMPLATE = subdirs SUBDIRS += bluetooth nfc android: SUBDIRS += android -!android { +contains(QT_CONFIG, private_tests) { bluetooth_doc_snippets.subdir = bluetooth/doc/snippets bluetooth_doc_snippets.depends = bluetooth - SUBDIRS += bluetooth_doc_snippets nfc_doc_snippets.subdir = nfc/doc/snippets nfc_doc_snippets.depends = nfc - SUBDIRS += nfc_doc_snippets + + !contains(QT_BUILD_PARTS, examples) { + bluetooth_doc_snippets.CONFIG = no_default_target no_default_install + nfc_doc_snippets.CONFIG = no_default_target no_default_install + } + + SUBDIRS += bluetooth_doc_snippets nfc_doc_snippets } qtHaveModule(quick) { |