User`s guide
build
Purpose Build active p roject in CCS IDE
Syntax build(cc,timeout)
build(cc)
build(cc,'
all',timeout)
build(cc,'
all')
[result,numwarns]=build(...)
Description build(cc,timeout)incrementally rebuilds your active project in CCS
IDE. In an increm ental build:
• Files that you have chang ed since your last project build process
get rebuilt or recompiled.
• Source files rebuild w h en the time stam p on the source file is later
than the time stamp on the object file created b y the last build.
• Files w hose time stamps have not changed do not rebuild or
recompile.
This incremental bu ild is iden tical to the incre m en ta l build in CCS IDE,
available from the CCS IDE toolbar.
After building the files, CCS IDE relinks the files to create the program
file w ith the
.out extension. To determine whether to relink the output
file, CCS IDE compares the time stamp on the output file to the time
stamp on each object file. Itrelinkstheoutputwhenanobjectfile time
stamp is later than the output fi le tim e stamp .
To reduce the compile and build time, CCS IDE keeps a build
information file for each project. CCS ID E uses this file to determine
which file needs to be rebuilt or relinked during the incremental build.
After each build, CCS ID E u pd ates the build informa tion file.
7-10