blob: 4cc25ad6649ab37b6dd8e4eca08e3ea01eb53cc4 (
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 {
StaticLibrary {
name: "a"
Depends { name: "cpp" }
files: [
"a.c",
]
}
StaticLibrary {
name: "b"
Depends { name: "a" }
Depends { name: "cpp" }
files: [
"b.c",
]
}
CppApplication {
name: "appWithoutSources"
consoleApplication: true
// HACK: cpp.entryPoint currently not working 100% with gcc
Properties {
condition: qbs.toolchain.contains("msvc")
cpp.entryPoint: "main"
cpp.dynamicLibraries: ["ucrt", "kernel32"]
}
cpp.entryPoint: undefined
Depends { name: "a" }
Depends { name: "b" }
}
}
|