Using SoftBench

Setting Up a Project

For external build projects, you may need to change build instructions in the current project if files have been removed.

8.Finally, make sure you copy the physical project files under your new local workspace root.

Creating a Subproject

When you create a subproject relationship, you also need to create the build instructions that implement the relationship. For example, if the subproject is a library, you need to add the library to the target's build configuration in the parent project. (For more information, see “Customizing Build Configurations” on page 62.)

When you create a subproject, you can treat the subproject as code that you do not control and do not want to build, or you can build the subproject before building the project. The "Build Subprojects" toggle button in the Build Control Area controls whether the subproject is built prior to building the parent project.

You can create a subproject in two ways:

When the project already exists, select the project in the Projects view, then choose "Project: Make Subproject Of…". In the dialog box, specify the parent project.

When you are restructuring the current project and wish to convert part of it into a subproject, select the targets and/or files that you want in the subproject, then choose "File: Convert to Project…". See “Repartitioning an Existing Project” on page 54 for more information.

Chapter 2

55

Page 55
Image 55
HP UX SoftBench Software manual Creating a Subproject