blob: 5dbb526098cae0f45eb56684be0e4638e6542f86 (
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
|
import qbs 1.0
Project {
CppApplication {
Depends { name: "basenamelib" }
name: "basename"
files: "main.c"
}
StaticLibrary {
Depends { name: "cpp" }
name: "basenamelib"
files: [
"lib.c",
"lib.cpp"
]
Group {
condition: qbs.targetOS === "mac" || qbs.targetOS === "ios"
files: [
"lib.m",
"lib.mm"
]
}
ProductModule {
Depends { name: "cpp" }
cpp.frameworks: (qbs.targetOS === "mac" || qbs.targetOS === "ios") ? "Foundation" : undefined
}
}
}
|