blob: 725968dae127a763c183034a088688035625506a (
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
|
import qbs
Project {
CppApplication {
name: "theapp"
cpp.minimumMacosVersion: "10.7" // For -rpath
Depends { name: "theotherlib" }
Depends { name: "thethirdlib" }
Depends { name: "thefourthlib" }
Depends { name: "staticlib" }
files: "main.cpp"
Group {
fileTagsFilter: "dynamiclibrary"
qbs.install: true
qbs.installSourceBase: buildDirectory
}
}
Dll {
name: "thefourthlib"
Depends { name: "thelib" }
files: "lib4.cpp"
Export {
Depends { name: "cpp" }
cpp.rpaths: [qbs.installRoot]
}
}
StaticLibrary {
name: "staticlib"
Depends { name: "cpp" }
Depends { name: "theotherlib" }
files: "lib5.cpp"
}
}
|