OpenMake Meister

Configuring the C and C++ Eclipse Project Properties

 

To configure the Eclipse C/C++ project to use Meister, first follow the steps in tables SI-25, PB-26 and PB-27.

 

Table PB-25 Configure the Options in the C/C++ Build Top Level Dialog

Step

Action

1

Go to  the C/C++ project Properties page

2

Highlight the C/C++ Build menu item, Builder Settings tab

3

Choose for configuration, [All configurations]

4

Use default build command should be checked

5

Under Makefile generation, Generate Makefiles automatically should be unchecked.

6

Now click the C/C++ Build menu item, Behavior tab

7

Under Build settings, Stop on first build error should be checked

8

Use parallel build should be unchecked

9

It is recommended that under Workbench Build Behavior, Build on resource save (Auto build) be unchecked, at least until the integration is established to be working

10

Build (Incremental build) should be checked with a value of all

11

Clean should be checked with a value of clean

12

For each configuration separately, such as Debug and Release, choose for Build directory under Build location a value of ${project_loc}

 

 

Table PB-26 Configure the Options in the C/C++ Build->Environment Dialog

Step

Action

1

Go to  the C/C++ project Properties page

2

Highlight the C/C++ Build menu item, Environment sub-menu

3

Choose for configuration, [All configurations]

4

Add a variable named WORKSPACE_ROOT with the value ${workspace_loc}

5

Add a variable named TARGET_DEFINITION with the value ${workspace_loc:/<build project>/tgt}. The value should point to the location of the target files to be used by the build. This will typically be under the OpenMake Build project if you are generating your targets using the OpenMake Target Generator Eclipse plug-in. For example, if that project’s name is HelloWorldBuild, then the value should be literal ${workspace_loc:/HelloWorldBuild/tgt}

6

Add a variable PROJECT_NAME with the literal value ${project_name}

7

You may also add other convenience variables such as appending to the PATH variable or setting OPENMAKE_HOME

8

Choose for configuration, Debug

9

Add a variable CFG with value DEBUG

10

Choose for configuration, Release

11

Add a variable CFG with value RELEASE

 

 

 

Table PB-27 Configure the Options in the OpenMake Target Definition Dialog

Step

Action

1

Go to  the C/C++ project Properties page

2

Highlight the OpenMake Target Definition menu item

3

Uncheck Use derived values

4

For Directory to build Target in, put the literal $(CFG)

5

For Directory to build intermediates in, put the literal $(CFG)

6

Be sure to regenerate your targets using the Openmake->Generate OpenMake TGT’s item from right-clicking on the OpenMake build project