Configuring the build behavior

To edit the build behavior, open the project properties and click C/C++ Build in the left pane and the Behavior tab in the right pane.


Behavior settings

Table 1. C/C++ Build: Behavior settings
Settings Description
Build settings Select the type of build arguments used. Options:
  • Use standard build arguments: Specify the build options:
    • Stop on first build error: This option stops the build at the first encountered error. The option is enabled by default and read-only.
    • Enable parallel build: Keep this option enabled to speed up the compilation by using parallel jobs. Configure the number of parallel jobs:
      • Use optimal jobs (4): Use the default number of four jobs.
      • Use parallel jobs: Specify the number of parallel jobs by the number of CPU on your machine.
      • Use unlimited jobs: Enable the builder to produce as many jobs as required by the build.
  • Use custom build arguments: Specify the build options to be added to the build command.
Workbench Build Behavior Specify the settings to be used by the builder when instructed to build, rebuild, or clean the project.
  • Build on resource save (Auto build): Enable this option to rebuild the project whenever the project resources are saved. Click Variables to specify the path of the build target.
  • Build (incremental build): Enable this option to create incremental builds. Click Variables to specify the path of the build target to be incremented.
  • Clean: Enable this option to clean the project before rebuilding it. Click Variables to specify the path of the build target.