zoukankan      html  css  js  c++  java
  • IAR中的参数变量表

    在IAR中的help中输入argument variables时会找到这样的一个列表:

      

    Argument variables
    On many of the pages in the Options dialog box, you can use argument variables for paths and arguments:
     
     
    Variable
    Description
    $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 6.n //EW的安装目录
    $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 6.n\arm   //已激活的开发环境的目录
    $USER_NAME$
    Your host login name
    $_ENVVAR_$
    The environment variable ENVVAR. Any name within $_ and _$ will be expanded to that system environment variable.
     
    Argument variables can also be used on some pages in the IDE Options dialog box, see Tools menu
     
     
    当对项目进行配置时,要利用上面的一些参数变量进行相应的设置。  从而可以避免当工程移到其他的电脑上的时候出现路径的错误而采用相对路径
     
     
     
     
     
     
     
     
     
    这个世界不会怜悯那些被屠宰者,而会尊敬那些一直在战斗着的人们
  • 相关阅读:
    2020~2021年第一学期《计算机科学概论》第一周学习总结
    蓝精灵小组第六周小组讨论学习总结
    2020-2021年第一学期 20202412姜和言 《网络空间安全》第六周学习总结
    蓝精灵小组第五周小组讨论学习总结
    2020-2021年第一学期 20202412姜和言 《网络空间安全》第五周学习总结
    2020-2021年第一学期 20202412姜和言 《网络空间安全》第四周学习总结
    蓝精灵小组第二周小组讨论学习总结
    2020-2021年第一学期 20202412姜和言 《网络空间安全》第三周学习总结
    蓝精灵小组第二周小组讨论学习总结
    2020-2021年第一学期 20202412姜和言 《网络空间安全》第二周学习总结
  • 原文地址:https://www.cnblogs.com/zxqwolf/p/3052770.html
Copyright © 2011-2022 走看看