Provide information for compiling and linking generated code
An RTW.BuildInfo
object contains information for compiling and
linking generated code.
returns a
build information object. You can use the object to specify information for compiling and
linking generated code. For example:buildInformation
= RTW.BuildInfo
Compiler options
Preprocessor identifier definitions
Linker options
Source files and paths
Include files and paths
Precompiled external libraries
addCompileFlags | Add compiler options to model build information |
addDefines | Add preprocessor macro definitions to model build information |
addIncludeFiles | Add include files to model build information |
addIncludePaths | Add include paths to model build information |
addLinkFlags | Add link options to model build information |
addLinkObjects | Add link objects to model build information |
addNonBuildFiles | Add nonbuild-related files to model build information |
addSourceFiles | Add source files to model build information |
addSourcePaths | Add source paths to model build information |
addTMFTokens | Add template makefile (TMF) tokens to model build information |
findBuildArg | Find a specific build argument in model build information |
findIncludeFiles | Find and add include (header) files to model build information |
getBuildArgs | Get build arguments from model build information |
getCompileFlags | Get compiler options from model build information |
getDefines | Get preprocessor macro definitions from model build information |
getFullFileList | Get list of files from model build information |
getIncludeFiles | Get include files from model build information |
getIncludePaths | Get include paths from model build information |
getLinkFlags | Get link options from model build information |
getNonBuildFiles | Get nonbuild-related files from model build information |
getSourceFiles | Get source files from model build information |
getSourcePaths | Get source paths from model build information |
setTargetProvidesMain | Disable inclusion of code generator provided (generated or static)
main.c source file during model build |
updateFilePathsAndExtensions | Update files in model build information with missing paths and file extensions |
updateFileSeparator | Update file separator character for file lists in model build information |