A toolchain file must contain one (and only one) toolchain definition.
A toolchain definition contains a set of properties, options & tools.
toolchain example {
displayName: "Example"
option exampleOption as String {
...
}
tool exampleTool {
...
}
}
Toolchains can extend another. When extending a toolchain all options & tools are inherited.
toolchain example2 extends example {
}
Valid properties of a toolchain are:
Property | Description | Type | Example |
---|---|---|---|
displayName | Display name of the toolchain | String | "Cross GCC" |
A toolchain definition contains a set of properties, options.
tool assembler {
displayName: "GCC Assembler"
command: "as"
argsPattern: "${flags} -o ${output} ${inputs}"
option exampleOption as String {
...
}
}
A tool can inherit options defined in the toolchain. When inheriting an option the following properties can be overridden:
- TODO
inherit test {
...
}