Build configuration
Compiler optimization or debug settings for toolchain
Description
App Configuration Pane: Hardware
Configuration Objects: coder.CodeConfig
| coder.EmbeddedCodeConfig
The Build configuration parameter specifies the degree of compiler
optimization or debug settings to use during the build process. If you set this parameter to
Specify
, you can use the Custom Toolchain Options parameter to customize the
settings for tools in the selected toolchain.
Settings
Faster Runs
Optimizes the build for faster running executables. This setting is the default for toolchains that do not use CMake. This setting is not available for CMake toolchains.
Faster Builds
Optimizes the build for shorter build times. This setting is not available for CMake toolchains.
Release
Enables optimizations in the build. This setting is the default for toolchains that use CMake. This setting is only available for toolchains that use CMake.
RelWithDebInfo
Enables optimizations and generates debug symbols. This setting is only available for toolchains that use CMake.
MinSizeRel
Optimizes build for size and does not generate debug symbols. This setting is only available for toolchains that use CMake.
Debug
For toolchains that do not use CMake, optimizes the build for debugging.
For toolchains that use CMake, disables optimizations and generates debug symbols.
Specify
Allows you to customize the settings for tools in the selected toolchain.
Programmatic Use
Property: BuildConfiguration |
Values: 'Faster Runs' | 'Faster
Builds' | 'Release' | 'RelWithDebInfo' |
'MinSizeRel' | 'Debug' |
'Specify' |
Default: 'Faster Runs' (without CMake) |
'Release' (with CMake) |
Version History
Introduced in R2013a