diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-12-01 01:15:51 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-12-05 18:32:08 +0000 |
commit | 3b41dd8d70897900bb8e988732bf37b94a165e0b (patch) | |
tree | 038d32e609e65f962b0ea5c784e49697eccd9d35 /qbs.qbs | |
parent | 65f68ebbf2ea08990490713107144ce0127e4b27 (diff) | |
download | qbs-3b41dd8d70897900bb8e988732bf37b94a165e0b.tar.gz |
Add a new project property "withDocker" on the Qbs build
This allows developers to build Qbs with --all-products on a system that
has Docker installed, but without building the Docker images, since this
can take a very long time.
Change-Id: Idc0514e8d603311559125beba4b14b352613adcd
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'qbs.qbs')
-rw-r--r-- | qbs.qbs | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -4,6 +4,7 @@ Project { minimumQbsVersion: "1.6" qbsSearchPaths: ["qbs-resources"] property bool withCode: true + property bool withDocker: true property bool withDocumentation: true property bool withExamples: false property bool withTests: withCode @@ -11,12 +12,18 @@ Project { property stringList autotestWrapper: [] references: [ - "docker/docker.qbs", "share/share.qbs", "scripts/scripts.qbs", ] SubProject { + filePath: "docker/docker.qbs" + Properties { + condition: parent.withDocker + } + } + + SubProject { filePath: "doc/doc.qbs" Properties { condition: parent.withDocumentation |