blob: a1185572722d8a2447a24b3d9deedc5db4feea76 (
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
|
import qbs.Host
BareMetalProduct {
type: "application"
consoleApplication: true
property bool dummy: {
if (qbs.targetPlatform !== Host.platform()
|| qbs.architecture !== Host.architecture()) {
function supportsCrossRun() {
// We can run 32 bit applications on 64 bit Windows.
if (Host.platform() === "windows" && Host.architecture() === "x86_64"
&& qbs.targetPlatform === "windows" && qbs.architecture === "x86") {
return true;
}
}
if (!supportsCrossRun())
console.info("targetPlatform differs from hostPlatform")
}
}
Group {
condition: qbs.toolchain.contains("cosmic")
files: "cosmic.lkf"
fileTags: "linkerscript"
}
}
|