Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit 96dffa6

Browse files
committed
add QXMPP_NO_TESTS and QXMPP_NO_EXAMPLES
1 parent a159e4c commit 96dffa6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

qxmpp.pro

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ CONFIG += ordered
44
TEMPLATE = subdirs
55

66
SUBDIRS = src
7-
android | ios {
8-
} else {
9-
SUBDIRS += tests examples
7+
isEmpty(QXMPP_NO_TESTS) {
8+
SUBDIRS += tests
9+
}
10+
isEmpty(QXMPP_NO_EXAMPLES) {
11+
SUBDIRS += examples
1012
}
1113

1214
!isEmpty(QXMPP_USE_DOXYGEN) {

0 commit comments

Comments
 (0)