blob: 8a97f74a15b831b5fefe0e26c7a5f6bd0eaea703 (
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
|
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"
}
}
|