blob: 044ecf710431aca496dd1c9f42ae2f7330b1eea1 (
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
|
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
files: "main.cpp"
Group {
fileTagsFilter: "application"
fileTags: "some-tag"
}
}
DynamicLibrary {
name: "thelib"
install: true
installImportLib: true
Depends { name: "cpp" }
files: "thelib.cpp"
}
LoadableModule {
name: "theplugin"
install: true
Depends { name: "cpp" }
files: "theplugin.cpp"
}
}
|