aboutsummaryrefslogtreecommitdiffstats
path: root/qbs.qbs
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-12-01 01:15:51 -0800
committerJake Petroules <jake.petroules@qt.io>2017-12-05 18:32:08 +0000
commit3b41dd8d70897900bb8e988732bf37b94a165e0b (patch)
tree038d32e609e65f962b0ea5c784e49697eccd9d35 /qbs.qbs
parent65f68ebbf2ea08990490713107144ce0127e4b27 (diff)
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.qbs9
1 files changed, 8 insertions, 1 deletions
diff --git a/qbs.qbs b/qbs.qbs
index c409eefb6..f36bd0ee4 100644
--- a/qbs.qbs
+++ b/qbs.qbs
@@ -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