[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


Prefix Files

If you have a single file you wish to include in every source file in a project, you can use the Prefix File item in the C/C++ Language Panel. Enter the name of the file in the Prefix File edit field in this panel.

The compiler automatically includes this file (and any files that it, in turn, includes) in every source file in the project's current target. This is an excellent way to include a precompiled header file in a project.

This field is also used as an alternative to the -d option commonly issued to compilers that operate at the command line.

See also: "Header Files."


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000