Precompiling a File in the CodeWarrior IDE

To precompile a file in the CodeWarrior IDE, use the Precompile command in the Project menu:

  1. Start the CodeWarrior IDE.
  2. Open or create a project.
  3. Choose or create a build target in the project.

    The settings in the project's active build target will be used when preprocessing and precompiling the file you want to precompile.

  4. Open the source code file to precompile.

    See What Can be Precompiled for information on what a precompiled file may contain.

  5. From the Project menu, choose Precompile.

    A save dialog box appears.

  6. Choose a location and type a name for the new precompiled file.

    The IDE precompiles the file and saves it.

  7. Click Save.

    The save dialog box closes, and the IDE precompiles the file you opened, saving it in the folder you specified, giving it the name you specified.

You may now include the new precompiled file in source code files.