Build projects

After you create an application, you need to build it. Note that the IDE uses the same make utility and Makefiles that are used on the command line.

The IDE can build projects automatically (i.e. whenever you change your source), or let you build them manually. When you do manual builds, you can also decide on the scope of the build.

Note: When you right-click on a project and select Build Project, there is a particular scenario where the C/C++ perspective will ignore the Build Project command. For example, if you build a Makefile project and then modify and build the project outside the IDE (for a library that it needs to link against), when you attempt to select Build Project in the IDE, it won't reissue the make all for the project. The IDE ignores the explicit user-specified build request for this particular scenario.

The IDE uses a number of terms to describe the scope of the build:

Build Project
Build only the components affected by modified files in that particular project (i.e. make all).
Clean Project
Delete all the built components (i.e. .o, .so, .exe, and so on) without building anything (i.e. make clean).
Rebuild
Build the project from scratch (i.e. make clean all).

You can watch a build's progress and see output from the build command in the Console view. If a build generates any errors or warnings, you can see them in the Problems view.

To build selected projects:

  1. Open the Project Explorer view.
  2. Right-click a project and select Build Project.