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 RunsOptimizes 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 BuildsOptimizes the build for shorter build times. This setting is not available for CMake toolchains.
ReleaseEnables optimizations in the build. This setting is the default for toolchains that use CMake. This setting is only available for toolchains that use CMake.
RelWithDebInfoEnables optimizations and generates debug symbols. This setting is only available for toolchains that use CMake.
MinSizeRelOptimizes build for size and does not generate debug symbols. This setting is only available for toolchains that use CMake.
DebugFor toolchains that do not use CMake, optimizes the build for debugging.
For toolchains that use CMake, disables optimizations and generates debug symbols.
SpecifyAllows 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