beautypg.com

HP Integrity NonStop H-Series User Manual

Page 21

background image

Later, you can return to the C Element Filters dialog to hide .project and .cproject again,
if desired.

The .project and .cproject files define attributes of the Car project, including any
customizations you make. If you save your projects in a Source Configuration Management system,
it is important to save these files in addition to your source code.

For information about how to build, deploy, and launch Car, skip ahead to

“Building, deploying,

and launching a project” (page 33)

. But first, refer to

“Viewing and changing properties of managed

projects” (page 30)

, as the build will fail unless you specify the location of the headers directory

to the cross compiler.

Creating a managed project by pulling existing sources into your workspace

This section provides an example of creating a managed project named GeneralCpp using existing
sources that are copied into your workspace. This is a two-step process. First, you will create an
empty project; then, you will import the sources for GeneralCpp.

To create the GeneralCpp 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 GeneralCpp for your project in the Project name: field

b.

Under Project type:, select Empty Project in the NonStop Executable folder.

c.

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

Following is the completed dialog box for the above substeps.

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.

The following dialog shows the Msys bin specified.

Creating projects

21

This manual is related to the following products: