Defining Standard Make build settings
The Make Builder page lets you:
- Configure how the CDT handles make errors.
- Change the default build command.
- Map the target passed to make when you select build or rebuild.
You can define the properties on a per project basis in the New
Project wizard, in the C/C++ Projects view or in the Navigator view.
You can also define project properties in the Preferences window for
future standard make projects.
Before you begin
In order to be able to turn on or to turn off the feature that
automatically performs an incremental build of your project every time
a resource is saved for individual projects, you need to enable the
Workbench Build Automatically preference. You can then disable
this feature or change the associated make target for individual
projects.
To enable build on resource save:
- Click Window > Preferences.
- To automatically perform an incremental build of your project
every time a resource is saved, select Workbench from the list.
- Select the Perform build automatically on resource
modification check box.
Note: this is the default setting.
You can now enable or disable this feature on a per project basis.
To define build settings:

- Do one of the following:
- Click Window > Preferences. Expand C/C++,
click New Make Projects.
- In the C/C++ Projects view, right-click a standard make
project, and select Properties. Select C/C++ Make Project
from the list.
- Click the Make Builder tab.
- To stop the build when an error is encountered, select Stop
on first build error.
- Select one of the following build command settings:
- To use the default make command, select the Use Default
check box.
- To use a build utility other than the default make command Build
Command box, clear the Use Default check box .
- In the Workbench Build Behavior box, do the following:
- To build your project when resources are saved and change the
default make build target, select the Build on resource save (Auto
Build) check box. Enter a new build target in the Make build
target box.
- To change the build default make build target, select the Build
(Incremental Build) check box. Enter a new build target in the Make
build target box.
- To change the rebuild default make build target, select the Rebuild
(Full Build) check box. Enter a new build target in the Make
build target box.
- Click OK.

CDT Projects
Project file views
Working with C/C++ project files
Make Builder page,
C/C++ Properties window