summaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2017-07-05 14:08:01 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2017-07-17 10:43:00 +0000
commit0a952f70c3cca5cce928c8e6d3c511d069da7d43 (patch)
treea9992df5eb68f517d568e6a2704bd647d7ce37ea /mkspecs
parentde5f7fd1d59d732409d1024b20ab8b816009ff0c (diff)
downloadqtivi-0a952f70c3cca5cce928c8e6d3c511d069da7d43.tar.gz
qtivicore: Introduce some more configuration options
two more command-line options are introduced. These are needed to make yocto builds work and also only build whats really needed. --host-tools-only: This option will only build the host-tools (currently only the ivigenerator) --no/qt/system-ivigenerator: This will enable or disable the ivigenerator build. If the system option is used the ivigenerator is considered to be already part of Qt and is not build again. Instead the system ivigenerator is used for the code generation inside the module Change-Id: I68d9e7dec2c3a49552122f47b574211698031b55 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/mkspecs.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/mkspecs/mkspecs.pro b/mkspecs/mkspecs.pro
index a778415..1c6be92 100644
--- a/mkspecs/mkspecs.pro
+++ b/mkspecs/mkspecs.pro
@@ -1,4 +1,5 @@
TEMPLATE = subdirs
-QT_FOR_CONFIG += ivicore
-qtConfig(ivigenerator): SUBDIRS += features
+include($$QTIVI_BUILD_ROOT/src/ivicore/qtivicore-config.pri)
+QT_FOR_CONFIG += ivicore ivicore-private
+qtConfig(ivigenerator): !qtConfig(system-ivigenerator): SUBDIRS += features