How can I see or change the preprocessor macros defined for my project?

To see or change the preprocessor macros defined for your project, follow steps below:

  1. In the CodeWarrior Project window, right-click on project name.

    A context menu appears.

  2. From the context menu, select Properties .

    The Properties window appears.

  3. Select C/C++ Build > Settings .

    The Settings panel appears on the right-hand side.

  4. Under target compiler, select Preprocessor .

    The Macros panel appears on the right-hand side displaying #define preprocessor macros.

    Figure 1. Properties Dialog Box-Settings Page

    Properties Dialog Box-Settings Page

  5. Make the required changes and click Apply .
  6. Click OK .

The preprocessor macros defined for your project changes as specified.