Rebuild a project or application

When you rebuild a project or application, the output files are first deleted, then the project or application is compiled and linked.

About this task

The output files refer to the files created when you build or rebuild an application or project, such as the executable program files.

If you select the Rebuild all menu option, all output files generated by the project will be removed, then the build and link rules are applied to all applications in the project. Any pre-compile and post-compile commands set on the involved files will be executed, and any pre-link and post-link commands set on the involved group, application, and library nodes will be executed.

If you select the Rebuild menu option, all output files for the selected node and its children and dependencies will be removed, then all applications in the selected node have the build and link rules applied. Any pre-compile and post-compile commands set on the involved files will be executed, and any pre-link and post-link commands set on the involved group, application, and library nodes will be executed. If the command is executed from the top menu, the default application node is the selected node; otherwise the selected node is whichever node you right-clicked to show the contextual menu.

Steps

  1. To rebuild the entire project, either:
    • Select Build > Rebuild all from the top menu.
    • Right-click on the project node and select Rebuild all.
  2. To rebuild the default application, select Build > Rebuild from the top menu.
  3. To rebuild any group, application, or library node, right-click on the node and select Rebuild.