21
CHAPTER1 Basic Functions
■
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
[Example] Macro expansion in external tools
Focus is on Subprj project in the SRC tab of project window.
%a
:
C:\Subprj\Release\Abs\Subprj.abs
%A
:
SUBPRJ.abs
%D
:
C:\Subprj\Release\Abs\
%E
:
.abs
%(FILE[FOLDER])
:
Source Files\Common
%(PRJFILE)
:
C:Subprj\Subprj.prj
Focus is not in the SRC tab of project window.
%a
:
C:\Wsp\Sample\Debug\Abs\Sample.abs
%A
:
Sample.abs
%D
:
C:\Wsp\Sample\Debug\Abs\
%(PRJFILE)
:
C:\Wsp\Sample\Sample.prj
[Example] Macro expansion in customize build
Release configuration of Subprj project is built.
%(FILE)
:
C:\Subprj\LongNameFile.c
%(FILE[PATH])
:
C:\Subprj
%(FILE[RELPATH])
:
.
%(FILE[NAME])
:
LongNameFile
%(FILE[EXT])
:
.c
%(FILE[SHORTFULLNAME]) :
C:\Subprj\LongFi~1.
%(FILE[SHORTPATH])
:
C:\Subprj
%(FILE[SHORTNAME])
:
LongFi~1
%(PRJFILE[RELPATH])
:
..\Subprj
%(PRJPATH)
:
C:\Subprj
%(OBJPATH)
:
C:\Subprj\Release\Obj
%(PRJCONFIG)
:
Relase
%(ENV[FETOOL])
:
C:\Softune
%(TEMPFILE)
:
C:\Subprj\Relase\Opt\_fs1056.TMP
[Example] Macro expansion in tool options
Release configuration of Subprj project is build.
%(FILE)
:
%(PRJFILE[RELPATH])
:
..\Subprj
%(PRJPATH)
:
C:\Subprj
%(OBJPATH)
:
C:\Subprj\Release\Obj
%(PRJCONFIG)
:
Relase
%(ENV[FETOOL])
:
C:\Softune
Summary of Contents for SOFTUNE
Page 2: ......
Page 3: ...FUJITSU SEMICONDUCTOR LIMITED FR FAMILY SOFTUNE TM WORKBENCH USER S MANUAL for V6 ...
Page 4: ......
Page 42: ...32 CHAPTER1 Basic Functions ...
Page 225: ...215 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 232: ...222 INDEX ...
Page 234: ......