Building projects

After you've created a project, you'll want 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 make 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).
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.

Related concepts
The C/C++ perspective
Understanding projects in the IDE
Developing projects in the IDE
Working with projects
Writing code
More development features
Related tasks
Running binaries for a project
Deleting a project