blob: ec5b0b35842bd9c8aa5b5394a30dba080fea1adc (
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
|
Project {
LoadableModule {
Depends { name: "cpp" }
Properties {
condition: qbs.targetOS.contains("darwin")
bundle.isBundle: false
}
name: "CoolPlugIn"
files: ["exported.cpp", "exported.h"]
Group {
fileTagsFilter: product.type
qbs.install: true
}
}
CppApplication {
Depends { name: "cpp" }
Depends { name: "CoolPlugIn"; cpp.link: false }
consoleApplication: true
name: "CoolApp"
files: ["main.cpp"]
cpp.cxxLanguageVersion: "c++11"
cpp.dynamicLibraries: [qbs.targetOS.contains("windows") ? "kernel32" : "dl"]
Properties {
condition: qbs.targetOS.contains("unix") && !qbs.targetOS.contains("darwin")
cpp.rpaths: [cpp.rpathOrigin]
}
Group {
fileTagsFilter: product.type
qbs.install: true
}
}
}
|