blob: 0c86d05c6f6d0affd7754be10e623ebb7dd950b5 (
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
|
Project {
Application {
name : "HelloWorld"
files : [ "main.cpp" ]
Depends { name: "cpp" }
Depends { name: "dynamic1" }
}
DynamicLibrary {
name : "dynamic1"
files : [ "dynamic1.cpp" ]
Depends { name: "cpp" }
Depends { name: "static1" }
Properties {
condition: qbs.targetOS.includes("darwin")
bundle.isBundle: false
}
}
StaticLibrary {
name: "static1"
files: [ "static1.cpp" ]
Depends { name: "cpp" }
Depends { name: "dynamic2" }
}
DynamicLibrary {
name: "dynamic2"
files: [ "dynamic2.cpp" ]
Depends { name: "cpp" }
Depends { name: "static2" }
cpp.visibility: 'hidden'
Properties {
condition: qbs.targetOS.includes("darwin")
bundle.isBundle: false
}
}
StaticLibrary {
name: "static2"
files: [ "static2.cpp", "static2.h" ]
Depends { name: "cpp" }
Probe {
id: tcPrinter
property bool isGcc: qbs.toolchain.contains("gcc")
configure: { console.info("is gcc: " + isGcc); }
}
}
}
|