blob: 5ae0316c767dc402851832224444e0b5e1d7c372 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import "../BareMetalApplication.qbs" as BareMetalApplication
BareMetalApplication {
condition: {
if (qbs.toolchainType === "iar")
return true;
if (qbs.toolchainType === "keil") {
if (qbs.architecture === "mcs51"
|| qbs.architecture === "mcs251"
|| qbs.architecture === "c166") {
return true;
}
}
console.info("unsupported toolset: %%"
+ qbs.toolchainType + "%%, %%" + qbs.architecture + "%%");
return false;
}
cpp.generateCompilerListingFiles: false
files: ["main.c", "fun.c"]
}
|