Setting build order

You can specify the order in which projects are built. Referenced projects are built 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 changes are propagated.

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

To set the project build order:

  1. Click Window > Preferences.
  2. Select Build Order from the list.
    Screen capture of Build Order dialog box.
  3. Clear the Use default build order checkbox.
  4. Select a project in the list.
  5. Do one of the following:
  6. To add projects to the build path, click Add Project.
  7. Select the projects to add to the build path.
  8. Click OK.
  9. To remove a project from the Project build order list, click Remove Project.
  10. When building or rebuilding all projects, the projects that have been removed from the build order are built last.

  11. Click Apply.

Related concepts
Build overview

Related tasks
Defining build settings
Building

Related reference
Make Builder page, C/C++ Properties window

IBM Copyright Statement