Define New or Edit Target Dialog Boxes

Related Topics:

Specifying a Make Target Specifying a Build Command
Specifying a Makefile Specifying a Build Mode
Targets The dmake Command
Makefile Macros

The Define New Target dialog box and the Edit Target dialog box are identical:

To open the dialog box you need, choose one of the following commands:

The dialog boxes have the following components:
Directory text box Type a build directory path, or click the browse button to open a file chooser.
Makefile text box Type a makefile name (the default file name is makefile), or click the browse button to open a file chooser.
Target text box Specify a target, or click on the browse button to open the Target Chooser Dialog Box.
Command text box Type a make command. The default command is dmake.
Name text box Allows you to assign a name to this Directory, Makefile, Target triple. The name is only used to describe the target on the menu picklist. If you do not assign a name to the target, it appears as <target> target in <directory>:<makefile> makefile on the menu picklist. Assigning a name allows you to distinguish between build targets, especially when there are several build targets in the same directory and makefile. WorkShop generates special project targets: Entire Project builds the all target in the generated Makefile and builds all the targets in the project; Clean deletes all generated files, the source browsing database, the C++ templates database, the executable itself, and other build-related files.
Options button Click to open the Build Options Dialog Box, which allows you to modify the parameters of a build using the options provided.
Macros button Click to open the Make Macros Dialog Box, which allows you to add, change, override, or delete macros to be passed into the build.
Environment Variables button Click to open the Environment Variables Dialog Box, which allows you to add, change, or delete environment variables to be passed into the build.
OK Applies the build parameters and closes the dialog box.
Build Applies the build parameters and builds the target.
Cancel Closes the dialog box without applying changes.