blob: 4e993bedf9f8111f83283b10889e2ad9f9ee21a9 (
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
|
import qbs.base 1.0
Project {
Product {
type: "application"
name: "QtHelloWorld"
Depends {
name: "Qt"
submodules: ["gui"]
}
property bool someCustomFeature: true
Group {
condition: qbs.debugInformation === false
files : [ "main.cpp" ]
}
Group {
condition: qbs.debugInformation === true
files : [ "main_dbg.cpp" ]
}
files : [
"object1.h",
"object1.cpp",
"object2.cpp",
"foo.c"
]
Group {
files: [ "object2.h" ]
fileTags: [ "hpp" ]
}
Group {
condition: someCustomFeature == true
files: [ "somecustomfeature.cpp" ]
}
}
}
|