Use this panel to specify file search paths and any additional include files the S12Z Compiler should use. You can specify multiple search paths and the order in which you want to perform the search.
The IDE first looks for an include file in the current directory, or the directory that you specify in the INCLUDE directive. If the IDE does not find the file, it continues searching the paths shown in this panel. The IDE keeps searching paths until it finds the #include file or finishes searching the last path at the bottom of the Include File Search Paths list. The IDE appends to each path the string that you specify in the INCLUDE directive.
For example, if you see the message Could not open source file myfile.h, you must add the path for myfile.h to this panel.
The following table lists and describes the input options for S12Z Compiler.
| Option | Description |
|---|---|
| Prefix File | This option allows you to specify the prefix file or precompiled header file search path. |
| Source File Encoding | This option allows you to select the source file encoding. The options available are:
|
| Allow Macro Redefinition | This option allows macro redefinitions without an error or warning. |
| Defined Macros | Use this option to specify the defined macros. |
| Undefined Macros | Use this option to specify the undefined macros. |
The following table lists and describes the toolbar buttons that help work with the file paths.
| Button | Description |
|---|---|
| Add - Click to open the Enter Value dialog box and specify location of the library you want to add. | |
| Delete - Click to delete the selected library path. | |
| Edit - Click to open the Edit Dialog dialog box and update the selected path. | |
| Move up - Click to move the selected path one position higher in the list. | |
| Move down - Click to move the selected path one position lower in the list. |
The following figure shows the Enter Value dialog box for Defined Macros .
The following figure shows the Edit Dialog dialog box for Defined Macros .
The buttons in the Enter Value and Edit Dialog dialog boxes help work with the paths.
The following figure shows the Enter Value dialog box for Undefined Macros .
The following figure shows the Edit Dialog dialog box for Undefined Macros .
The buttons in the Enter Value and Edit Dialog dialog boxes help work with the paths.