Building a C or C++ Project

See Also 

When you build a C or C++ project, the IDE calls the corresponding target in the project's makefile. The IDE executes the compiler from the project's associated tool collection to compile the source files as specified by the makefile target. The IDE's Output window displays the build command output such as make messages and compiler messages.

Some of the error messages that the compiler generates are underlined. If you double-click an underlined message, the editor highlights the source code that caused the error.

You can build the selected project and all of its related projects, or build any project individually.

If the tools required to build the project are not in the Tool Collection specified for the project, the Resolve Build Tools dialog box opens. Resolve the missing tools and click OK.

To build the selected project and its related projects:

To build an individual project and its related projects:

To run other targets in the makefile of a project:

To stop building a project:

See Also
  C and C++ Building Tasks: Quick Reference
Compiling a Single C or C++ File

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.