![](/images/backgrounds/286155/hp-hp-ux-softbench-software-users-manual-15607861x1.png)
Using SoftBench
Defining Targets for Project Build
5.Select Add to add the new target to the "Pending New Targets" list.
6.Define as many targets as you need while the dialog box is posted. When you are done, select OK.
If the
In the main SoftBench window, the Files view shows the newly created targets. Targets can have two types of dependency relationships:
•
•build order dependencies between two targets
Dependency relationships can only be created for project build targets.
To create a
1.Select the files to link into the target, then choose "File: Link Source to Target…".
2.In the dialog box, select the target.
To see the dependency relationship:
1.Select Expand >>. This action expands the main SoftBench window to display the Builder page.
2.If the CodeAdvisor page is displayed, select the Builder tab.
3.In the target graph, select the target.
4.Select "Source File Dependencies" from the Display Dependencies menu button.
To create a build order dependency, you need at least two targets:
1.Select the target that must be built first, then choose "Target: Add Build Order Dependency…".
2.In the dialog box, select the target that must be built last.
You can also use subprojects to create build order dependencies. See “Creating a Subproject” on page 55 for more information.
Chapter 2 | 61 |