Using SoftBench

Setting Up a Project

Configuration… and make the needed changes. (For more information, see “Customizing Build Configurations” on page 62.)

If you want to have SoftBench generate a Makefile for use external to SoftBench, for example in a nightly build script, choose "Builder: Generate Makefile…".

Creating a Project Using External Build

External build provides build support when you write and maintain your own Makefiles or build scripts. With external build, you also need to specify the files that belong to the project, and you may also want to specify the targets (see “Defining Targets for External Build” on page 64). Doing so enables SoftBench to show your targets on the target graph for easy selection and building. SoftBench does not read or parse your Makefile.

To create an external build project:

1.Choose "Project: New Create…".

Figure 2-5 "Create Project" Dialog Box for External Build

2.In the "Create Project" dialog box, provide the project name, local workspace root, and descriptive comment.

3.Select the "External Build" radio button.

4.Your build directory should be the same as your local workspace root. If for some reason it is not, enter the build directory.

5.Enter the build command for building the project. For example, enter make to build the default target in a make(1) Makefile. Your Makefile

52

Chapter 2

Page 52
Image 52
HP UX SoftBench Software manual Creating a Project Using External Build, Create Project Dialog Box for External Build