Main Content

getBuildConfiguration

Class: coder.make.ToolchainInfo
Namespace: coder.make

Get handle for build configuration object

Syntax

bldcfg_handle = h.getBuildConfiguration(bldcfg_name)

Description

bldcfg_handle = h.getBuildConfiguration(bldcfg_name) returns a handle for the specified coder.make.BuildConfig object.

Input Arguments

expand all

A coder.make.ToolchainInfo object, specified using an object handle, such as h. To create h, enter h = coder.make.ToolchainInfo in a MATLAB® Command Window.

Build configuration name, specified as a character vector or string scalar.

Data Types: char | string

Output Arguments

expand all

Examples

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) 

Version History

Introduced in R2013a