Configuring the project
Once you have created the project, added files to it and edited them, you may want to configure project before compiling it. This is not necessary most of the time since a new project is pre-configured with default settings that will work for majority of the applications.
To change the project settings of the current project, select "Settings" under "Project" menu:
Select Debugger tab:
On this tab you can select modes of operation of debugger:
Select Environment tab:
If your toolkit requires environment variables for proper operation, you can add/modify them using Environment field. Use Toolkit directory to set path to toolkit executable file.
Click the Compiler tab:
For each C language source file ( those with extension .c ) in the project, Compiler field is used for compiling the source file. For each Assembly language source file ( those with the extension that is specified in the Extension field ) in the project, Assembler field is used for assembling the source file.
Click the Linker tab:
Linker field contains the name of the linker that will be used for combining the intermediate output files of compiler and assembler operations. Linker Extensions field shows which file extensions are recognized by the linker ( for example object files with extension .obj, library files with extension .lib )
Click the Output tab:
To specify the output file that will be generated when this project is built, either fill in the Output File field with the actual file name or fill in the Output Extension field with the extension of the output file. If Output File field is empty and Output Extension is specified, the output file name is generated by appending the extension to the project name. For example, if the project name is logger and the Output Extension field contains hex, the output file name will be logger.hex.
Output Generator field contains the command to generate the output file.
Click the Pre-Build tab:
Any commands that need to be executed before compiler or assembler runs ( for example, batch files ) can be specified in the Pre-Build command line.
Click the Post-Build tab:
Any commands that need to be executed after the output generator executes can be specified in the Post-Build command line. Post-Build command normally executes after the output generator executes successfully. If it is desired to execute Post-Build command regardless of success or failure of output generator, check the Always Execute checkbox.
In this chapter of the guide you learnt how you can customize project settings. After this is done, you are ready to compile it. Please see next chapter.