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:
A CMake toolchain definition – see Configure CMake Build Process and Create Custom CMake Toolchain Definition.
A makefile-based toolchain approach – see Configure Toolchain (ToolchainInfo) or Template Makefile Build Process.
Settings
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
Application | Setting |
---|---|
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