How do I create a new build configuration for my project?

To create a new build configuration:

  1. Select the project for which you want to create the build configuration in the CodeWarrior Projects view.
  2. From the IDE menu bar, select Project > Build Configurations > Manage .
    Figure 1. Project > Build > Configuration

    Project > Build > Configuration

  3. The Manage Configurations dialog box appears.
    Figure 2. Manage Configurations Dialog Box

    Manage Configurations Dialog Box

  4. Click the New button to create a new build configuration.

    The Create New Configuration dialog box appears.

  5. Enter the name and description for the build configuration.
  6. Select the appropriate option from the Copy settings from section and select the required option. For example, you may choose to copy settings from an existing configuration and select the required configuration.
    Figure 3. Create New Configuration Dialog Box

    Create New Configuration Dialog Box

  7. Click OK to close the Create New Configuration dialog box.
  8. Click OK .

To configure build settings of the newly created build configuration:

  1. Select the project with which the build configuration is associated in the CodeWarrior Projects view.
  2. From the IDE menu bar, select Project > Properties .

    The Properties dialog box appears.

  3. Select C/C++ Build > Settings .
  4. Select the newly created configuration from the Build Configuration drop-down list.
    Figure 4. Properties Dialog Box

    Properties Dialog Box

  5. Specify the settings for the selected build configuration, as required. For example, you can define preprocessor directives in the <target>Compiler > Preprocessor page.
  6. Click OK .

The build settings are configured, as specified.