blob: d04ecdd5739ee7ad12d0b8399c595e383dced66e (
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
|
import qbs
Project {
CppApplication {
name: "public_tool"
bundle.isBundle: false
Depends { name: "mylib" }
files: ["main.cpp"]
Group {
fileTagsFilter: product.type
qbs.install: true
qbs.installDir: "bin"
}
}
CppApplication {
name: "internal_tool"
Depends { name: "mylib" }
files: ["main.cpp"]
}
DynamicLibrary {
bundle.isBundle: false
Depends { name: "cpp" }
name: "mylib"
files: ["lib.cpp"]
Group {
name: "public headers"
files: ["lib.h"]
qbs.install: true
qbs.installDir: "include"
}
Group {
fileTagsFilter: product.type
qbs.install: true
qbs.installDir: "lib"
}
}
InstallPackage {
archiver.type: "tar"
builtByDefault: true
name: "tar-package"
Depends { name: "public_tool" }
Depends { name: "mylib" }
}
}
|