blob: 9256bf7678fa5e18e2fa0aaada7f77703ebe6118 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
CppApplication {
name: "p"
property string linkerVariant
Probe {
id: gccProbe
property bool isGcc: qbs.toolchain.includes("gcc")
configure: {
console.info("is GCC: " + isGcc);
if (isGcc)
found = true;
}
}
Properties {
condition: gccProbe.found
cpp.linkerVariant: linkerVariant
}
files: "main.cpp"
}
|