### /P Compiler Option

Syntax: | Default:
/P[+|-] | /P-

Use /P to run the preprocessor only, and create a preprocessor output file that has the same name as the source file, with the extension .i.

By default, both the preprocessor and the compiler run, and no preprocessor output is generated.

The /P, /Pc, /Pd, and /Pe options can be used in combination with each other.

Preprocessor

Summary of Compiler Options