blob: dc35ac2b8081a8b3a28b7dd0bfe7efa43e14e68c (
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
|
import "../BareMetalApplication.qbs" as BareMetalApplication
BareMetalApplication {
condition: {
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;
}
}
console.info("unsupported toolset: %%"
+ qbs.toolchainType + "%%, %%" + qbs.architecture + "%%");
return false;
}
cpp.generateCompilerListingFiles: false
files: ["main.c", "fun.c"]
}
|