blob: f24edbc8152ffd1624ba4a915879eb01f6856a63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import qbs.base 1.0
Application {
type: "application" // no Mac app bundle
Depends { name: "cpp" }
cpp.defines: project.generalDefines
cpp.linkerFlags: {
if (qbs.buildVariant == "release" && (qbs.toolchain.contains("gcc") || qbs.toolchain.contains("mingw")))
return ["-Wl,-s"]
}
property string toolInstallDir: project.ide_libexec_path
cpp.rpaths: qbs.targetOS.contains("osx")
? ["@executable_path/../" + project.ide_library_path]
: ["$ORIGIN/../" + project.ide_library_path]
Group {
fileTagsFilter: product.type
qbs.install: true
qbs.installDir: toolInstallDir
}
}
|