Runs the Lightfoot C compiler on specified files.
| Attribute | Description | Required |
| quiet |
If set true supresses all
messages |
No |
| debug |
If set true, compiles with
debugging information |
No |
| verbose |
If set true, displays verbose
messages |
No |
| dag |
If set true, only compile to a
DAG file |
No |
| keep |
If set true, keeps all generated
files |
No |
| optimise |
If set true, optimise for speed |
No |
| bspdir |
Base location of all installed
BSPs |
No |
| outputfile |
Name of the output file if
compiling one file |
No |
| outputdir |
Name of the output directory to
write files to |
No |
| searchref |
Reference for the directories to
use to search for included files |
No |
| sourceref |
Reference for source files |
Yes unless nested sources is
defined |
Path to search for include files.
Source files to compile
Used used to list the BSPs to reference.
| Attribute | Description | Required |
| target |
The name of a single BSP |
Yes unless targets is set |
| version |
The version of a single BSP |
Yes if target is set |
| targets |
A comma separated list of BSPs
and version. The BSP and version are colon separated |
No unless target is not set |
<lightfoot.c.compile outputdir="${asmdir}"
quiet="yes"
debug="${debug}"
searchref="includepath"
bspdir="${bspdir}">
<bsp target="${bsp.target}" version="${bsp.version}" debug="${debug.bsp}"/>
<bsp targets="${extra_bsps}" debug="${debug.bsp}"/>
<sources>
<fileset dir="${deriveddir}">
<include name="**/*.c"/>
</fileset>
</sources>