blob: 2596b441dd712cb4ac04ee8a7f9782063645aafc (
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
30
|
import "../BareMetalApplication.qbs" as BareMetalApplication
BareMetalApplication {
condition: {
if (qbs.toolchainType === "sdcc")
return true;
if (qbs.toolchainType === "msvc")
return true;
if (qbs.toolchainType === "clang-cl")
return true;
if (qbs.toolchainType === "iar")
return true;
if (qbs.toolchainType === "keil") {
if (qbs.architecture === "mcs51"
|| qbs.architecture === "mcs251"
|| qbs.architecture === "c166") {
return true;
}
if (cpp.compilerName.startsWith("armcc")) {
console.info("using short listing file names");
return true;
}
}
console.info("unsupported toolset: %%"
+ qbs.toolchainType + "%%, %%" + qbs.architecture + "%%");
return false;
}
cpp.generateCompilerListingFiles: true
files: ["main.c", "fun.c"]
}
|