In order to build the project or subproject, scons is used in the following way.
- Help
scons -h
display a screen with the current options of the build system
- Building
scons
or scons all
build libraries and applications for all plattformsscons doc
build documentationscons libs
build libraries for all plattformsscons apps
build applications for all plattformsscons <BoardType>
build libraries and applications for specified board type:
<BoardType>
: stkm16, ict230, ...
scons l<BoardType>
build libraries for specified board typescons a<BoardType>
build applications for specified board typescons x<BoardType>
build example applications for specified board type
- Cleaning
scons -c <target>
cleaning a specific target
<target>
all, doc, libs, apps, <BoardType>, l<BoardType>, a<BoardType>
scons -c distclean
remove all created files and directories