beautypg.com

Adding build targets, Editor selection dialog – HP Integrity NonStop J-Series User Manual

Page 115

background image

1.

Close the text editor open on makefile.targets.

2.

Select makefile.targets in the NonStop Project Explorer view.

3.

Select Open With

→Other... from the context menu of the NonStop Project Explorer view to

open the Editor Selection dialog:

Figure 75 Editor Selection dialog

4.

In the Editor Selection dialog, select Makefile Editor.

5.

Select OK to dismiss the dialog and open makefile.targets in the Makefile editor. The
Makefile editor will now be the default editor for makefile.targets in the containing
project.

Adding build targets

Adding a build target consists of both adding the target to a makefile and adding the same target
to the Make Target view so you can start a build of the target from NSDEE.

For both local and remote makefile projects, you must add additional targets to your own makefile.
For projects that use managed builds, add the additional targets to the makefile.targets file.
For details on creating this file, see

“Creating a makefile.targets file for managed builds” (page

114)

.

To add targets you define to the Make Target view, perform the following steps from the NonStop
Project Explorer view:

1.

In the Make Target view, select the project you want to add a build target to.

2.

Select New... from the context menu of the Make Target view to open the Create Make Target
dialog.

3.

In the Create Make Target dialog, enter the name of the target in the Target name: field as
shown in

Figure 76 (page 116)

:

Adding and customizing build targets

115

This manual is related to the following products: