C and C++ Building Tasks: Quick Reference

This topic describes common tasks you can perform when building C and C++ projects. For more detailed information, click the links in the right column.

To perform this task Follow these steps
Build a project
  1. Select the node of the project you want to build.
  2. Choose Build > Build Main Project (F11) or right-click any project in the Projects window and choose Build Project.
Build a project.
  • Choose Build and choose  Build Main Project (F11) or right-click any project node and choose Build Project.
Stop building a project.
  • Choose Build > Stop Build/Run.
Compile a single file.
  1. Select the node of the file you want to compile.
  2. Choose Build > Compile File (F9).
Clean a project.
  • Right-click the project node and choose Clean Project.
Clean and build the main project.
  1. Select the node of the project you want to clean and build.
  2. Choose Build > Clean and Build Main Project (Shift-F11).
View build output.
  1. In the Files window, expand the project folder node.
  2. Expand the build folder to view object (.o) files.
  3. Expand the dist folder to view executable (.exe) files and built libraries.
Correct compilation errors
  • In the Output window, double-click any highlighted syntax error to jump to the location in the source code where the error occurred..
  • In the Output window, double-click any make error to open the makefile in the target that failed.

Legal Notices