setBuildConfiguration
Class: coder.make.ToolchainInfo
Namespace: coder.make
Set value of specified build configuration
Syntax
h.setBuildConfiguration(bldcfg_name, bldcfg_handle)
Description
assigns a build configuration object to a build configuration in h
.setBuildConfiguration(bldcfg_name
, bldcfg_handle
)coder.make.ToolchainInfo.BuildConfigurations
.
Tips
Before you can use this method, add a build configuration to BuildConfigurations
using coder.make.ToolchainInfo.addBuildConfiguration
with a
bldcfg_name
argument.
Input Arguments
Examples
h.getBuildConfigurations
ans = 'Faster Builds' 'Faster Runs' 'Debug'
bldcfg_handle = h.getBuildConfiguration('Debug')
bldcfg_handle = ############################################## # Build Configuration : Debug # Description : Default debug settings for compiling/linking code ############################################## ARFLAGS = /nologo $(ARDEBUG) CFLAGS = $(cflags) $(CVARSFLAG) $(CFLAGS_ADDITIONAL) /c /Od $(CDEBUG) CPPFLAGS = $(cflags) $(CVARSFLAG) $(CPPFLAGS_ADDITIONAL) /c /Od $(CPPDEBUG) DOWNLOAD_FLAGS = EXECUTE_FLAGS = LDFLAGS = $(ldebug) $(conflags) $(LIBS_TOOLCHAIN) $(LDDEBUG) MEX_CFLAGS = MEX_LDFLAGS = MAKE_FLAGS = -f $(MAKEFILE) SHAREDLIB_LDFLAGS = $(ldebug) $(conflags) $(LIBS_TOOLCHAIN) -dll -def:$(DEF_FILE) $(LDDEBUG)
h.addBuildConfiguration('Debug2','Variant debugging configuration') h.setBuildConfiguration('Debug2',bldcfg_handle) h.getBuildConfigurations
ans = 'Faster Builds' 'Faster Runs' 'Debug' 'Debug2'
Version History
Introduced in R2013a