RTW.BuildInfo
提供用于编译和链接生成的代码的信息
说明
RTW.BuildInfo
对象包含用于编译和链接生成的代码的信息。
创建对象
描述
返回一个编译信息对象。您可以使用该对象来指定用于编译和链接生成的代码的信息。例如:buildInformation
= RTW.BuildInfo
编译器选项
预处理器标识符定义
链接器选项
源文件和路径
包含文件和路径
预编译的外部库
属性
对象函数
addCompileFlags | Add compiler options to build information |
addDefines | Add preprocessor macro definitions to build information |
addIncludeFiles | Add include files to build information |
addIncludePaths | Add include paths to build information |
addLinkFlags | Add link options to build information |
addLinkObjects | Add link objects to build information |
addNonBuildFiles | Add nonbuild-related files to build information |
addPreincludeFiles | Add preinclude files to build information |
addSourceFiles | Add source files to build information |
addSourcePaths | Add source paths to build information |
addTMFTokens | Add template makefile (TMF) tokens to build information |
addUndefines | Add undefine preprocessor directives to build information |
findBuildArg | Find a specific build argument in build information |
findIncludeFiles | Find and add include (header) files to build information |
getBuildArgs | Get build arguments from build information |
getCompileFlags | Get compiler options from build information |
getDefines | Get preprocessor macro definitions from build information |
getFullFileList | Get list of files from build information |
getIncludeFiles | Get include files from build information |
getIncludePaths | Get include paths from build information |
getLinkFlags | Get link options from build information |
getNonBuildFiles | Get nonbuild-related files from build information |
getPreincludeFiles | Get preinclude files from build information |
getSourceFiles | Get source files from build information |
getSourcePaths | Get source paths from build information |
getUndefines | From build information, get preprocessor macros to undefine |
removeIncludePaths | Remove include paths from build information |
removeSourceFiles | Remove source files from build information object |
removeUndefines | Remove undefine preprocessor macros from build information |
setTargetProvidesMain | Disable inclusion of code generator provided (generated or static)
main.c source file during build |
updateFilePathsAndExtensions | Update files in build information with missing paths and file extensions |
updateFileSeparator | Update file separator character for file lists in build information |
示例
版本历史记录
在 R2006a 中推出