Substitution macros

When creating new toolkits with Toolkit Configurator you can use the following macros in command lines:
  • {ROOTDIR} specifies the directory where Micro-IDE was installed; that is, the directory that you specified during installation.
  • {TOOLKITDIR} specifies directory where toolkit executable is located
  • {SOURCEFILE} contains the name of the source file of the project. This is used by Compiler and Assembler command lines. Micro-IDE will execute these command lines once for every source file.
  • {OBJFILES} is a Micro-IDE keyword that gets substituted with the name of all C object files when the project is being built. {OBJFILES} is used in the Linker field only.
  • {OBJFILE} is a Micro-IDE keyword that gets substituted with the name of a single C object file when the project is being built. {OBJFILE} is used on the Compiler field only.
  • {TMPFILE} is a Micro-IDE keyword that gets substituted with the base name of the current source file, followed by the extension .TMP. {TMPFILE} may be used on the Linker and/or Output field.
  • {CMD} is replaced by name of command processor. It is cmd.exe for Windows NT, 2000, XP and higher and command.com for Windows 95, 98 and ME.
  • {OUTFILEBASE} is substituted by the file title (file name without extension) of the output file.
  • {HEXFILE} is a Micro-IDE keyword that gets substituted with the name of the hex output file. {HEXFILE} is used in the Assembler field only.
  • {ASMFILE} is a Micro-IDE keyword that gets substituted with the name of the assembler file. {ASMFILE} may be used on the Linker and/or Output field.