Main Content

Toolchain details

Baseline toolchain settings

Model Configuration Pane: Code Generation

Description

The Toolchain details parameter enables you to display and customize toolchain build configuration settings. To display the settings table, click Toolchain details.

Dependencies

This parameter appears when you configure the model for toolchain-based code generation by using one of the following:

Settings

Depends on tools and toolchain.

The Tool column can include:

  • C Compiler, Linker, Shared Library Linker, C++ Compiler, C++ Linker, C++ Shared Library Linker, Archiver, Download, Execute, and Make Tool. Content of the Options column can vary by tool and toolchain and can contain macros. To create a custom build configuration, set Build configuration to Specify. Consult third-party toolchain documentation for more information about options you can use with a specific tool.

  • CMake Configure and CMake Build. If Build configuration is Specify, use the Options column as follows:

    • CMake Configure –– Specify additional command-line arguments to pass to CMake when generating the build artifacts for the downstream tools.

    • CMake Build –– Specify additional command-line arguments to pass to CMake when using it in build mode.

Recommended Settings

ApplicationSetting
Debugging 
Traceability 
Efficiency 
Safety precaution 

Programmatic Use

Parameter: CustomToolchainOptions
Type: character vector
Value: Specify the baseline toolchain settings. Use a new-line-delineated character vector to specify each option and its values.
Default: ''

Version History

Introduced in R2013b