- 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
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.
Table 1.11-3 List of Sub parameters 1
Sub parameter
[PATH]
[RELPATH]
[NAME]
[EXT]
[SHORTFULLNAME]
[SHORTPATH]
[SHORTNAME]
[FOLDER]
*: 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 :
Active project :
Subproject :
project window and valid file name is selected
Directory of file
Relative Path of file
Main file name of file
Extension of file
Full path name of short file
Directory of short file
Main file name of short file
Name of folder in which files are stored in the SRC tab of project window
(Can be specified only in %(FILE).)(*)
Active project configuration
Object directory :
Active project configuration
Object directory :
Target file :
CHAPTER 1 BASIC FUNCTIONS
Meaning
C:\Wsp\Wsp.wsp
C:\Wsp\Sample\Sample.prj
Debug
C:\Wsp\Sample\Debug\Obj\
C:\Subprj\Subprj.prj
Release
C:\Subprj\Release\Obj\
C:\Subprj\Release\Abs\Subprj.abs
19