blob: 7a35e4e13091bb2aeb7216695c3ec83e728e5e11 (
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.includes("cosmic")
files: "cosmic.lkf"
fileTags: "linkerscript"
}
}
|