218
CHAPTER 4 MENUS
■ Title
Input the tool name; duplicated tool names do not cause a problem.
■ Execution File Name
Input the file name of the executed tool.
■ Option
Specify the option for the executed tool. A macro can be specified in this field.
For the macros, refer Section 1.1.1 in the SOFTUNE WORKBENCH User's Manual.
When the button at the right of this field is clicked, the list of usable macros is displayed. For example,
when [Build File]-[Directory] is clicked, %(FILE[PATH]) is inserted for the option at the cursor position.
■ Executing Directory
To execute the tool for a particular directory, specify the Executing Directory. If the Executing Directory is
not specified, the tool is executed for the project directory.
■ Enable
This specifies whether or not to execute the tool at Compile, Assemble, Make, or Build. The tool is not
executed when the checkbox is unchecked. To suspend execution of the tool, uncheck the checkbox.
■ Designate additional option when executing
This specifies whether or not to display a dialog in which additional options can be specified at executing
the tool. When adding options at executing the tool, check the checkbox.
The option set in the specifying other parameter dialog is added as is to the end of the character string
specified for [Option].
■ Use Output window
To display the tool execution result in the Output window, check the checkbox. There are some precautions
to follow when using the Output window. For details, refer to Section 1.1.1 in SOFTUNE WORKBENCH
User's Manual.
■ Contents of the temporary file
When the %(TEMPFILE) macro is specified for [Option], SOFTUNE WORKBENCH creates a new
temporary file at executing the tool and deletes it at ending the tool execution. In this field, specify the data
to be written to this temporary file. For example, when the tool option becomes very long, it is possible to
specify %(TEMPFILE) for [Option] and specify that option in this field (However, this is only valid when
the tool to be executed permits specifying the option in the file.)
Macros can be input in this field. For the macros, refer to Section 1.1.1 in SOFTUNE WORKBENCH
User's Manual.
■ Setting procedure
1. Select [Project]-[Customize Build].
- The Customize Build setting dialog is displayed (Figure 4.5-40 ).
2. Select the tool registered position from the tree view and then press the [NEW] button.
- When a category is selected and the [NEW] button is pressed, a tool entitled "NEWTOOL" is created
at the end of the category. When a tool is selected and the [NEW] button is pressed, a tool entitled
"NEWTOOL" is created immediately after the selected tool.
- Tools in the Before/After category are executed sequentially from the top.
3. Set the title of the tool to be registered.