C and C++ SoftBench User's Guide

Using SoftBench
Defining Targets for Project Build
Chapter 2 63
Depending on the changes you need, you can add packages (see
“Using Build Packages” on page 63), libraries, library directories,
include directories, compiler options, and other build instructions. To
modify compile modes, defines, undefines, and compiler flags, you
must select your compiler first.
4. Select Save to save changes under the current name. Select Save As…
to save changes under a new name. If you selected a SoftBench build
configuration, you must use Save As… to provide a new build
configuration name. See “Understanding Build Configurations and
Packages” on page 23 for information about SoftBench build
configurations.
To customize a build configuration for a specific target:
1. Select the target in the project browser or target graph.
2. Choose "Target: Modify Properties…"
3. From the "Modify Target Properties" dialog box, select Customize
Build Configuration…
.
4. Modify the build configuration by expanding the sections of the dialog
box and making the changes.
5. Select OK to save the changes as a build configuration customization
to the build configuration associated with the selected target. The
"Modify Target Properties" dialog box reflects the addition of the
customizations in the "Current Build Configuration" field.
Once you make a specific build configuration, SoftBench does not
maintain a connection with the base build configuration from which it
was derived. Changes you later make to the base build configuration are
not inherited by the customized build configuration. You must repeat the
changes for each customized build configuration individually.
For more information on customizing build configurations, refer to
SoftBench Online Help for the "Customize Build Configuration"
dialog box.
Using Build Packages
To create or modify build packages, choose "Builder: Manage
Packages…". Once a package is defined, you can include it in build
configurations as a quick and reliable way to specify all build
instructions for the compiler, library, or utility.
For more information on customizing build packages, refer to SoftBench
Online Help for the "Manage Package Information" dialog box.