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.
From the main menu, select Build ▸ Build or press F7 to build all targets in the same directory as the currently opened file.
From the main menu, select Build ▸ Build Project or press Shift+F7 to build the complete project. All subdirectories are built recursively.
From the file manager pane, select a file or a directory.
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.
From the project manager pane, select a source file or a target.
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.
Got a comment? Spotted an error? Found the instructions unclear? Send feedback about this page.