Using SoftBench

Adding Existing Files to a Project

Adding Existing Files to a Project

Once a project is created, you can add files to the project in a number of ways. SoftBench vi Editor and SoftBench XEmacs's "File: Save" and "File: Save As…" menu commands automatically add a file into the project listed in the editor's title bar.

From the main SoftBench window, you can choose "Project: Add File(s) to Project…" (see Figure 2-6). This command allows you to add files individually, or you can add files in groups based on directory and file type. As you select files, SoftBench displays the file names in the "Files Selected" list.

You do not need to add intermediate files, such as .o files and generated C files, explicitly. Add files that you want to build as target files using the "Target: New" menu command.

Figure 2-6

"Add Files to Project" Dialog Box

To add files one at a time:

1. Select the "Choose Files Individually" radio button.

2. Enter the file name, or select to browse to the desired file.

3.Select Add to add the file to the "Files Selected" list. To add files in groups:

58

Chapter 2

Page 58
Image 58
HP UX SoftBench Software manual Adding Existing Files to a Project, Add Files to Project Dialog Box