blob: 4f55db9cd53a5c88fccb59441700e42473d6b459 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
Project {
property bool someTrueProperty: true
Product {
name: "no_condition_no_group"
files: ["main.cpp"]
}
Product {
name: "no_condition"
Group {
files: ["main.cpp"]
}
}
Product {
name: "true_condition"
Group {
condition: true
files: ["main.cpp"]
}
}
Product {
name: "false_condition"
Group {
condition: false
files: ["main.cpp"]
}
}
Product {
name: "true_condition_from_product"
property bool anotherTrueProperty: true
Group {
condition: anotherTrueProperty
files: ["main.cpp"]
}
}
Product {
name: "true_condition_from_project"
Group {
condition: project.someTrueProperty
files: ["main.cpp"]
}
}
Product {
name: "condition_accessing_module_property"
Group {
condition: qbs.targetOS.includes("narf")
files: ["main.cpp"]
qbs.install: false
}
}
}
|