From 96dffa6abe480a90b819fded437c857fa041c2a0 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Fri, 4 Sep 2015 14:44:54 +0200 Subject: add QXMPP_NO_TESTS and QXMPP_NO_EXAMPLES --- qxmpp.pro | 8 +++++--- 1 file 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) { -- cgit v1.2.3