Build targets

A target is a file created from source files. Typically, it is a program or a library, but it could also be documentation if the documentation needs processing, for example.

The build command compiles all needed source files, and possibly links them with some other files, like libraries, in order to create the target. If some source files are already compiled and haven't been modified, they are not be recompiled, in order to save time. There are several ways to trigger a build.

  1. From the main menu, select Build ▸ Build or press F7 to build all targets in the same directory as the currently opened file.

  1. From the main menu, select Build ▸ Build Project or press Shift+F7 to build the complete project. All subdirectories are built recursively.

  1. From the file manager pane, select a file or a directory.

  2. Click on the right mouse button to make the file manager context menu appear and select Build ▸ Build to build all targets in the directory currently selected or the parent directory of the currently selected file.

  1. From the project manager pane, select a source file or a target.

  2. Click on the right mouse button to make the project manager context menu appear and select Build ▸ Build to build all targets in the directory containing the currently selected file or target.