summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKari Oikarinen <kari.oikarinen@qt.io>2016-11-08 12:44:03 +0200
committerKari Oikarinen <kari.oikarinen@qt.io>2016-11-08 11:11:47 +0000
commit02a7d1ab030b83feb3300df5149b9ec0518975f4 (patch)
tree250babbebec660a989afcc3bf76f89b9284200b4
parenta6bfa840aeab17d565030920422000861615e6e6 (diff)
Allow building only the daemon
Devices need to include just the library and the daemon, not the host parts. Host builds will still build the daemon on Linux, so that there is CI coverage of the complete code. Task-number: QTBUG-56967 Change-Id: I9809eff0dcb3a9e49eb0024943fcfa996bc38cb7 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r--qdb.pro18
1 files changed, 10 insertions, 8 deletions
diff --git a/qdb.pro b/qdb.pro
index 2eddaab..a09f470 100644
--- a/qdb.pro
+++ b/qdb.pro
@@ -3,17 +3,19 @@ TEMPLATE = subdirs
load(configure)
!qtCompileTest(libusb10): error("Could not find libusb-1.0, which is mandatory")
-SUBDIRS += \
- libqdb \
- qdb \
- tests \
+SUBDIRS += libqdb
-qdb.depends += libqdb
-tests.depends += libqdb
+!daemon_only {
+ SUBDIRS += \
+ qdb \
+ tests \
+
+ qdb.depends += libqdb
+ tests.depends += libqdb
+}
unix {
- SUBDIRS += \
- qdbd \
+ SUBDIRS += qdbd
qdbd.depends += libqdb
}