coder.updateBuildInfo
Update RTW.BuildInfo
build information object
Syntax
Description
Use the coder.updateBuildInfo
function to customize the
build process of the generated C/C++ source code by adding compiler and linker options,
preprocessor macro definitions, source and include files, and precompiled external
libraries.
coder.updateBuildInfo('addCompileFlags',
adds
compiler options to the build information object.options
)
coder.updateBuildInfo('addLinkFlags',
adds
link options to the build information object.options
)
coder.updateBuildInfo('addDefines',
adds
preprocessor macro definitions to the build information object.options
)
coder.updateBuildInfo(___,
assigns
a group name to group
)options
for later reference.
coder.updateBuildInfo('addLinkObjects',
specifies
if the link object is precompiled.filename
,path
,priority
,precompiled
)
coder.updateBuildInfo('addLinkObjects',
specifies
if the object is to be built before being linked or used for linking
alone. If the object is to be built, it specifies if the object is
precompiled.filename
,path
,priority
,precompiled
,linkonly
)
coder.updateBuildInfo(___,
assigns
a group name to the link object for later reference.group
)
coder.updateBuildInfo('addNonBuildFiles',
adds
a nonbuild-related file to the build information object.filename
)
coder.updateBuildInfo('addSourceFiles',
adds
a source file to the build information object.filename
)
coder.updateBuildInfo('addIncludeFiles',
adds
an include file to the build information object.filename
)
coder.updateBuildInfo(___,
adds
the file from specified path.path
)
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2013b