aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2015-09-04 14:44:54 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2015-09-04 14:44:54 +0200
commit96dffa6abe480a90b819fded437c857fa041c2a0 (patch)
tree3de3829f53867933e52545ee82a0f82a710a7c70
parenta159e4c4afc62628ec5b753829e1a023b6ae5dea (diff)
downloadqxmpp-96dffa6abe480a90b819fded437c857fa041c2a0.tar.gz
add QXMPP_NO_TESTS and QXMPP_NO_EXAMPLES
-rw-r--r--qxmpp.pro8
1 files changed, 5 insertions, 3 deletions
diff --git a/qxmpp.pro b/qxmpp.pro
index a309a48e..98974b7f 100644
--- a/qxmpp.pro
+++ b/qxmpp.pro
@@ -4,9 +4,11 @@ CONFIG += ordered
TEMPLATE = subdirs
SUBDIRS = src
-android | ios {
-} else {
- SUBDIRS += tests examples
+isEmpty(QXMPP_NO_TESTS) {
+ SUBDIRS += tests
+}
+isEmpty(QXMPP_NO_EXAMPLES) {
+ SUBDIRS += examples
}
!isEmpty(QXMPP_USE_DOXYGEN) {