beautypg.com

HP Integrity NonStop H-Series User Manual

Page 23

background image

To create the CarParts project, perform the following steps from the NonStop Development
perspective:

1.

Select New > C++ Project from the context menu of the NonStop Project Explorer view.

2.

In the resulting NonStop C++ Project wizard, do the following:
a.

Enter the name CarParts for your project in the Project name: field

b.

Deselect the Use default location check box and enter this location:
C:\Examples\MultiProjectCarApp\CarParts

c.

Select Empty Project in the NonStop Linkfile folder.

d.

Under Toolchains: select C-C++ TNS-E Tools.

3.

Select Next > to open the Initial Build Settings page.

4.

In the Initial Build Settings page, leave the defaults unchanged, but do specify either a Cygwin
or Msys bin using the Cygwin/Msys bin: combo box if you want NSDEE to prepend the
corresponding bin to PATH before builds.

5.

Selecting Next > would take you to the Remote Settings page. Since you don't need to deploy
a linkfile, you do not need to visit this page; however, if this were a shared library project,
you would likely want to enter remote system information in this page.

6.

Select Finish.

Now create the Car project:

1.

Select New > C++ Project from the context menu of the NonStop Project Explorer view.

2.

In the resulting NonStop C++ Project wizard, do the following:
a.

Enter the name Car for your project in the Project name: field

b.

Deselect the Use default location check box and enter this location:
C:\Examples\MultiProjectCarApp\Car

c.

Select Empty Project in the NonStop Executable folder.

d.

Under Toolchains:, select C-C++ TNS-E Tools.

3.

Select Next > to open the Initial Build Settings page.

4.

In the Initial Build Settings page, leave the defaults unchanged, but do specify either a Cygwin
or Msys bin using the Cygwin/Msys bin: combo box if you want NSDEE to prepend the
corresponding bin to PATH before builds.

5.

Select Next >. If you would like to enter a remote system and location (so you can try deploying
Car to a NonStop system), select a remote system and user now and specify a remote location.

6.

Select Finish.

Next you need to change the properties of the Car project to make the Car project reference the
CarParts project so that CarParts will build first (as needed) whenever you build the Car project.
To set a reference to CarProjects in the Car projects properties, perform the following steps from
the NonStop Development perspective:

1.

Select the Car project in the NonStop Project Explorer view.

2.

Select Properties from the NonStop Project Explorer view context menu:

3.

In the Properties for Car dialog, select Project References in the list of property pages on the
left.

Creating projects

23

This manual is related to the following products: