19
CHAPTER 1 BASIC FUNCTIONS
- Tool options
• Null character
-Others
1. File as focus is on the SRC tab of project window and valid file name is selected
2. File on which focus is in internal editor as no valid file name can be obtained in 1
3. Null character if no valid file name can be obtained
The macros in (*2) are determined as follows:
- Customize build and tool options
• Information on configuration of project under building, making, compiling and assembling
-Others
1. Information on active configuration of project in which file is stored as focus is on the SRC tab of
project window and valid file name is selected
2. Information on active configuration of active project if no valid file name can be obtained in 1
*3: The macro can use only the project of the workspace project format.
*4: The content of a temporary file can be specified only with customize build.
*: The macro can be used only the project of workspace project format.
■ Examples of Macro Expansion
If the following workspace is opened, macro expansion is performed as follows:
Workspace : C:\Wsp\Wsp.wsp
Active project : C:\Wsp\Sample\Sample.prj
Active project configuration Debug
Object directory : C:\Wsp\Sample\Debug\Obj\
Subproject : C:\Subprj\Subprj.prj
Active project configuration Release
Object directory : C:\Subprj\Release\Obj\
Target file : C:\Subprj\Release\Abs\Subprj.abs
Table 1.11-3 List of Sub parameters 1
Sub parameter Meaning
[PATH] Directory of file
[RELPATH] Relative Path of file
[NAME] Main file name of file
[EXT] Extension of file
[SHORTFULLNAME] Full path name of short file
[SHORTPATH] Directory of short file
[SHORTNAME] Main file name of short file
[FOLDER] Name of folder in which files are stored in the SRC tab of project window
(Can be specified only in %(FILE).)(*)