aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {