Build overview

The CDT uses the same make utility and makefile used on the command line. The CDT can generate makefiles automatically when you create a Managed Make C project or a Managed Make C++ project. You have the option of creating a Standard Make C project or a Standard Make C++ project and providing the makefile.

Required utilities

In order to build your project, you need to install and configure the following utilities:

Build terminology

The CDT uses a number of terms to describe the scope of the build.

Build Project

This is an incremental build (make all). Only the components affected by modified files in that particular project are built.

Rebuild Project

Builds every file in the project whether or not a file has been modified since the last build. A rebuild is a clean followed by a build.

For more information on builds, see:

Build-related information is displayed as follows:

For more information about the Tasks view, see Workbench User Guide > Reference > User interface information > Views and editors > Tasks view.

Build preferences

Build order

If certain projects must be built before others, you can set the build order. If your project refers to another project, the CDT must built the other project first.

When you set the build order, the CDT does not rebuild projects that depend on a project; you must rebuild all projects to ensure all changes are propagated.

For more information on build order, see Workbench User Guide > Reference > Preference > Build Order.

Automatic save

The CDT will save all unsaved modified resources when you perform a manual build. By default, this feature is disabled.

Related concepts
CDT Projects
Project file views

Related tasks
Defining project properties
Building

IBM Copyright Statement