Is it possible to exclude a single or multiple files from the project while building it?

Yes, you can exclude single or multiple files from build:

  1. Select the file in the CodeWarrior Projects view. To select multiple files, press and hold the Ctrl key.
  2. Right-click and select Resource Configurations > Exclude from build (for more information, refer to the image listed below).

    The Exclude from build dialog box appears.

    Figure 1. Exclude from build

    Exclude from build

  3. Select the build configuration from which you want to exclude the selected file.
    Figure 2. Exclude from build Dialog Box

    Exclude from build Dialog Box

  4. Click OK.

The selected files are excluded from the build configuration.