User manual

UM0036 Project creation and build
Doc ID 7705 Rev 11 139/385
Figure 92. Metrowerks C compiler input view
In this view, you can choose from the optimization options listed in Tabl e 49.
In addition, this view includes fields that allow you to enter the path name for a directory, or a
file to include when compiling.
Extra include paths
This field allows you to enter multiple paths for directories to include when compiling the
application.
You can type the path name. When you begin typing, the -I for this compiler option is
automatically added to the command line. Separate directory entries with a semi-colon (;).
When you type the semi-colon to start a new entry, the -I for the new entry is automatically
added to the command line.
You can use the browse button to locate a directory. Click on the file you want in the browse
window and the command line is automatically modified with the -I option and the path
name. To make another entry press the space bar and the browse window opens
automatically so that you can enter the next file path name.
Table 49. Metrowerks C compiler input options
Option
(1)
1. For complete descriptions, refer to the STMicroelectronics ST7 Compiler user manual from Metrowerks.
Description
Cut File Names to DOS Length (-!) This option cuts all file names to a length of 8 characters
Include Files Only Once (-Pio)
This option causes the compiler to ignore include files that
have already been read once while compiling.
Ignore Escape Sequences in Include
Paths (-Pe)
This option causes the compiler to ignore escape
sequences in strings that contain a DOS drive letter
followed by a colon and a back slash(:\). This is useful
when the code contains macros with file path names.