| |||
| Home > System Canvas Reference > Project Settings dialog > Parameters category | |||
The Parameter category panel lists parameters for the selected build option. See the following sections for details of the different display options for parameters in the Category View tab:
For more information on the parameters, see Alphabetical list of project parameter IDs.
To set the release options for example:
Click the Category View tab.
Select the Windows-Release entry and select the operating system and link options from the Platform/Linkage dropdown menu:
Win32 builds using the release run-time library for Windows
Win32D builds using the debug run-time library for Windows
Linux builds release version for Linux
LinuxD builds debug versions for Linux.
Select the compiler to use for this configuration from the Compiler dropdown menu.
Enter a path into the Build directory field to select the directory where the build is performed. This directory will contain the source code and the build library for the system model. If the path is not absolute, it is interpreted as being relative to the directory that contains the project file.
The Configuration description text box contains text that indicates the configuration options selected for release, compiler, and build directory.
Click the Category View tab to display the categories in the left pane and text boxes for the options in the right pane as shown in Figure 3.43. Select an item in the Parameter Category view to display the controls for configuring the corresponding parameters:
Select the top-most item in the panel to configure the project settings as shown in Figure 3.43:
The controls in the right panel correspond to the parameters listed in Table 3.4:
Table 3.4. Release parameters in the Category View tab
| Control name | Parameter |
|---|---|
| Configuration name | CONFIG_NAME |
| Platform/Linkage | PLATFORM |
| Compiler | COMPILER |
| Configuration description | CONFIG_DESCRIPTION |
| Build directory | BUILD_DIR |
See Alphabetical list of project parameter IDs for a description of the available parameters.
Select the Targets item in the panel to configure the build targets as shown in Figure 3.44:
The controls in the right panel correspond to the parameters listed in Table 3.5:
Table 3.5. Target parameters in the Category View tab
| Control name | Parameter |
|---|---|
| Integrated simulator (isim_system) | TARGET_ISIM |
| CADI library | TARGET_MAXVIEW |
| SystemC component | TARGET_SYSTEMC |
See Alphabetical list of project parameter IDs for a description of the available parameters.
Select the Debugging item in the panel to configure the debug options as shown in Figure 3.45:
The controls in the right panel correspond to the parameters listed in Table 3.6:
Table 3.6. Debugging parameters in the Category View tab
| Control name | Parameter |
|---|---|
| Enable model debugging | ENABLE_DEBUG_SUPPORT |
| Source Reference | GENERATE_LINEINFO |
| Verbosity | VERBOSITY |
| Model Debugger | MODEL_DEBUGGER_COMMAND_LINE |
| Model Shell | MODEL_SHELL_COMMAND_LINE |
See Alphabetical list of project parameter IDs for a description of the available parameters.
Select the Sim Generator item in the panel to configure the debug options as shown in Figure 3.46:
You can add additional command-line options in the SimGen
options text box. The SIMGEN_COMMAND_LINE parameter
is set to the text in the box.
Select the Compiler item in the panel to configure the compiler options as shown in Figure 3.47:
The controls in the right panel correspond to the parameters listed in Table 3.7:
Table 3.7. Compiler parameters in the Category View tab
| Control name | Parameter |
|---|---|
| Pre-Compile Actions | PRE_COMPILE_EVENT |
| Include Directories | INCLUDE_DIRS |
| Preprocessor Defines | PREPROCESSOR_DEFINES |
| Compiler Settings | ADDITIONAL_COMPILER_SETTINGS |
| Enable pre-compiling | ENBALE_PRECOMPILE_HEADER |
See Alphabetical list of project parameter IDs for a description of the available parameters.
Select the Linker item in the panel to configure the linker options as shown in Figure 3.48:
The controls in the right panel correspond to the parameters listed in Table 3.7:
Table 3.8. Linker parameters in the Category View tab
| Control name | Parameter |
|---|---|
| Pre-Link Actions | PRE_LINK_EVENT |
| Linker Settings | ADDITIONAL_LINKER_SETTINGS |
| Post-Built Actions | POST_BUILD_EVENT |
See Alphabetical list of project parameter IDs for a description of the available parameters.
Click the List View tab to display all categories and their parameter values in a single flat list as shown in Figure 3.49. See Alphabetical list of project parameter IDs for a description of the available parameters.
Click the Category View tab to display all categories and their parameter values in a single hierarchical list as shown in Figure 3.50. See Alphabetical list of project parameter IDs for a description of the available parameters.