【工具】IAR Argument Variables
2017-05-19 23:02
302 查看
IAR 嵌入式工作台指导用书链接:IAR Embedded Workbench® IDE Project Management and Building Guide
You can use argument variables for paths and arguments, for example when you specify include paths in the Options dialog box or whenever there is a need for a macro-like expansion that depends on the current context, for example in arguments to tools. You can use a wide range of predefined argument variables as well as create your own, see Configure Custom Argument Variables dialog box. These are the predefined argument variables:
您可以对路径和参数使用参数变量,例如在“选项”对话框中指定包含路径时,或者需要依赖于当前上下文的宏类扩展,例如在工具的参数中。您可以使用各种预定义的参数变量以及创建自己的参数,请参阅配置自定义参数变量对话框。这些是预定义的参数变量:
You can use argument variables for paths and arguments, for example when you specify include paths in the Options dialog box or whenever there is a need for a macro-like expansion that depends on the current context, for example in arguments to tools. You can use a wide range of predefined argument variables as well as create your own, see Configure Custom Argument Variables dialog box. These are the predefined argument variables:
您可以对路径和参数使用参数变量,例如在“选项”对话框中指定包含路径时,或者需要依赖于当前上下文的宏类扩展,例如在工具的参数中。您可以使用各种预定义的参数变量以及创建自己的参数,请参阅配置自定义参数变量对话框。这些是预定义的参数变量:
Variable | Description |
---|---|
$COMPILER_ARGS$ | All compiler options except for the filename that is used when compiling using the compiler. Note that this argument variable is restricted to the Arguments text box in the External Analyzer dialog box.所有编译器选项,除了使用编译器编译时使用的文件名。请注意,此参数变量仅限于“外部分析器”对话框中的“参数”文本框。 |
$CONFIG_NAME$ | The name of the current build configuration, for example Debug or Release.所有编译器选项,除了使用编译器编译时使用的文件名。请注意,此参数变量仅限于“外部分析器”对话框中的“参数”文本框。 |
$CUR_DIR$ | Current directory.当前目录 |
$CUR_LINE$ | Current line当前行 |
$DATE$ | Today’s date今天的日期 |
$EW_DIR$ | Top directory of IAR Embedded Workbench, for example c:\Program Files\IAR Systems\Embedded Workbench N.n IAR Embedded Workbench的顶级目录,例如c:\ Program Files \ IAR Systems \ Embedded Workbench N.n |
$EXE_DIR$ | Directory for executable output可执行输出目录 |
$FILE_BNAME$ | Filename without extension无扩展名的文件名 |
$FILE_BPATH$ | Full path without extension全路径无延伸 |
$FILE_DIR$ | Directory of active file, no filename灵活文件目录,无文件名 |
$FILE_FNAME$ | Filename of active file without path没有路径的活动文件的文件名 |
$FILE_PATH$ | Full path of active file (in Editor, Project, or Message window)活动文件的完整路径(在编辑器,项目或消息窗口中) |
$LIST_DIR$ | Directory for list output列表输出目录 |
$OBJ_DIR$ | Directory for object output目标输出目录 |
$PROJ_DIR$ | Project directory项目目录 |
$PROJ_FNAME$ | Project filename without path没有路径的项目文件名 |
$PROJ_PATH$ | Full path of project file项目文件的完整路径 |
$TARGET_DIR$ | Directory of primary output file主输出文件目录 |
$TARGET_BNAME$ | Filename without path of primary output file and without extension文件名无路径的主输出文件,无扩展名 |
$TARGET_BPATH$ | Full path of primary output file without extension主要输出文件的完整路径,无需扩展 |
$TARGET_FNAME$ | Filename without path of primary output file没有主输出文件路径的文件名 |
$TARGET_PATH$ | Full path of primary output file主输出文件的完整路径 |
$TOOLKIT_DIR$ | Directory of the active product, for example c:\Program Files\IAR Systems\Embedded Workbench N.n\arm活动产品的目录,例如c:\ Program Files \ IAR Systems \ Embedded Workbench N.n \ arm |
$USER_NAME$ | Your host login name您的主机登录名 |
$WS_DIR$ | The active workspace directory (only available in the IDE, not when using iarbuild.exe or cspybat.exe)活动工作区目录(仅在IDE中可用,而不是使用iarbuild.exe或cspybat.exe时) |
$_ENVVAR_$ | The Windows environment variable ENVVAR. Any name within $_and _$will be expanded to that system environment variable.Windows环境变量ENVVAR。 $ _和 _ $中的任何名称都将扩展到该系统环境变量。 |
$MY_CUSTOM_VAR$ | Your own argument variable, see Configure Custom Argument Variables dialog box. Any name within and will be expanded to the value you have defined.您自己的参数变量,请参阅配置自定义参数变量对话框。 和中的任何名称将被扩展为您定义的值。 |
相关文章推荐
- IAR EWARM Argument variables $PROJ_DIR$ $TOOLKIT_DIR$
- IAR Embedded Workbench 破解方法+工具+授权文件
- 开源:IAR工程转vs2010工具
- 关于Keil、IAR等开发工具的的一些感想
- 自动删除-IAR项目工程生成垃圾文件的工具
- 【工具】IAR FOR ARM 破解方法
- IAR Embedded Workbench 破解方法+工具+授权文件
- IAR 工具使用AStyle工具格式化代码
- Astyle代码格式化工具在IAR中的使用
- IAR开发工具的注册
- 【工具】IAR编译出错警告详解
- 创建Z-Stack项目的工具(Create Z-Stack Project For IAR)
- IAR Embedded Workbench 破解方法+工具+授权文件
- STM8工具之IAR
- IAR Embedded Workbench for ARM 6.50 破解方法+工具
- Keil MDK 和 IAR 两款ARM开发工具区别比较
- MAX32630开发工具(包含IAR,ARM MDK和sdk源代码)
- 【工具】IAR打开Workspace发现configurations内容丢失
- IAR工具使用
- IAR Embedded Workbench 破解方法+工具+授权文件