Define Build Behavior

To define build behavior, perform these steps.

  1. Start the IDE.
  2. In the CodeWarrior Projects view, select the project for which you want to modify the build settings.
  3. Select Project > Properties.

    The Properties window appears. The left side of this window has a properties list. This list shows the build properties that apply to the current project.

  4. Select C/C++ Build.

    The C/C++ Build page appears.

  5. Click the Behaviour tab.

    The behavior settings for the selected build configuration appears.

    Figure 1. C/C++ Build Page - Behaviour
    C/C++ Build Page - Behaviour
    The table below describes the builder settings options.
    Table 1. Behavior Options
    Group Option Description
    Build settings Enable project specific settings Check if you want to enable project specific settings.
    Build settings Stop on first build error Check to stop building when Eclipse encounters an error.

    Clearing this option is helpful for building large projects as it enables make to continue making other independent rules even when one rule fails.

    Configure Workspace Settings Enable parallel build Check to activate the generation of parallel builds. However, you need to determine the number of parallel jobs to perform:
    • Use optimal jobs number - Lets the system determine the optimal number of parallel jobs to perform.
    • Use parallel jobs - Lets you specify the maximum number of parallel jobs to perform.
    • Use unlimited jobs - Lets the system perform unlimited jobs.
    Workbench Build Behavior Workbench build type Specifies the builder settings when instructed to build, rebuild, and clean.
    Workbench Build Behavior Build on resource save (Auto build) Check to build your project whenever resources are saved. By default, this option is selected and builds occur automatically each time resources are modified.

    Clear if you do want that the build occurs only manually using a menu item.

    Workbench Build Behavior Build (Incremental Build) Defines what the standard builder will call when an incremental build is performed.
    Workbench Build Behavior Variables Click to open the Select build variable dialog box and add variables to the make build target command.
    Workbench Build Behavior Clean Defines what the standard builder calls when a clean is performed. The make clean is defined in the makefile.
    Workbench Build Behavior Variables Click to open the Select build variable dialog box and add variables to the make build target command.
  6. Make the desired changes and click OK.

    The Properties for <project> window will close.