blob: 4ad37c49851f116407a689f39d5baf5639ed171f (
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
|
Project {
property bool dummy: {
if (qbs.targetOS.contains("windows"))
console.info("is windows");
else if (qbs.targetOS.contains("macos"))
console.info("is mac");
else
console.info("is unix");
}
CppApplication {
name: "theapp"
install: true
installDebugInformation: true
files: "main.cpp"
cpp.separateDebugInformation: true
Group {
fileTagsFilter: "application"
fileTags: "some-tag"
}
}
DynamicLibrary {
name: "thelib"
install: true
installImportLib: true
installDebugInformation: true
Depends { name: "cpp" }
cpp.separateDebugInformation: true
files: "thelib.cpp"
}
LoadableModule {
name: "theplugin"
install: true
installDebugInformation: true
Depends { name: "cpp" }
cpp.separateDebugInformation: true
files: "theplugin.cpp"
}
}
|