aboutsummaryrefslogtreecommitdiffstats
path: root/qbs.pro
diff options
context:
space:
mode:
authorAlberto Mardegan <mardy@users.sourceforge.net>2020-09-06 12:09:03 +0300
committerAlberto Mardegan <mardy@users.sourceforge.net>2020-09-11 10:07:16 +0000
commit0a74e12a1f5c7abd58768677ff0ede1feb4786d5 (patch)
tree8b3af45506ebc0d7784a94b36abcae8351df18c9 /qbs.pro
parenta4eda429e24fc3bc0e9d2bf25d8a22cd7d51a3ce (diff)
Allow disabling tests
Allow the project to be build without tests. This is useful, for example, when uploading the source code to a Launchpad.net PPA: the builders there are rather slow, and we don't need to build the tests in order to get a functional package. Change-Id: I747af77163c9f7379810c89e34dd230249c344a4 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'qbs.pro')
-rw-r--r--qbs.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/qbs.pro b/qbs.pro
index 2c04b91a4..565a6a632 100644
--- a/qbs.pro
+++ b/qbs.pro
@@ -57,8 +57,9 @@ SUBDIRS += \
src_libexec\
src_plugins\
static.pro\
- static_res\
- tests
+ static_res
+
+!CONFIG(nomake_tests): SUBDIRS += tests
OTHER_FILES += \
doc/*.qdoc \