blob: 87dd0e0542d6f156c13e7ffaf45e5c01c0c93ffb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Project {
StaticLibrary {
name: "theLib"
destinationDirectory: project.buildDirectory
Depends { name: "cpp" }
Properties {
condition: qbs.targetOS.includes("darwin")
bundle.isBundle: false
}
files: ["lib.cpp"]
}
CppApplication {
name: "theApp"
cpp.libraryPaths: project.buildDirectory
files: ["main.cpp"]
cpp.staticLibraries: ['@' + sourceDirectory + '/'
+ (qbs.toolchain.includes("msvc") ? "list.msvc" : "list.gcc")]
}
}
|