# 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.
3. Clear the Use default build order checkbox.
4. Select a project in the list.
5. Do one of the following:

- Click Up to move the project up the list.
- Click Down to move the project down the list.

6. To add projects to the build path, click Add Project.
7. Select the projects to add to the build order list.
8. Click OK.
9. To remove a project from the Project build order list, click Remove Project.

When building or rebuilding all projects, the projects that have been removed from the build order are built last.

10. Click Apply.

Build overview

Defining build settings
Building

Make Builder page, C/C++ Properties window