beautypg.com

Building for both oss and guardian, Manage configurations dialog – HP Integrity NonStop H-Series User Manual

Page 90

background image

9.

Select the Add button (

) to open the Enter Value dialog.

10.

Enter –Wdef_obey=C:\mydefines.txt in the Enter Value dialog, then select OK.

11.

Select OK to apply your change and dismiss the Properties dialog.

Building for both OSS and Guardian

When you create a project with managed builds, the initial project is set up to build for OSS or
Guardian, but not both. To build a project for both OSS and Guardian, you need to create new
build configurations and set the TARGET_SYSTYPE build macro to a different value in the new
configurations.

Consider, for example, a project named HelloWorld that was created to be built for OSS and
TNS/E. From the NonStop Development perspective, you would perform the following steps to add
build configurations that build for Guardian:

1.

Select the HelloWorld project in the NonStop Project Explorer view.

2.

Select Build Configurations > Manage… from the context menu of the NonStop Project Explorer
view to open the Manage Configurations dialog:

Figure 51 Manage Configurations dialog

3.

Select New… to open the Create New Configuration dialog (

Figure 52 (page 91)

) which you

will use to create a new build configuration.

90

Tasks

This manual is related to the following products: