The -ppo option directs the compiler to write the output of the preprocessor to a file.
-ppo [+ | -]
+ | - | Specifying +, or just -ppo, directs the compiler to write the output of the preprocessor to a file. When ppo is not enabled, the compiler will delete any existing ppo files that match input file names. |
Each source file will be written to a file with the same base name and an extension of .ppo, in the same directory as the source file. If a .ppo file already exists, it will be overwritten without warning.
.ppo files can be viewed within Visual Studio. After enabling the -ppo option and rebuilding the project, select any node in the project in Solution Explorer, click the Show All Files button in the Solution Explorer toolbar, then double click the desired .ppo file node.
To view a .prg and .ppo file side-by-side to compare them, right-click the document tab in either the .prg or .ppo file and click New Vertical Tab Group.
1.Open the project's Properties page (see How to: Set Build Properties).
2.Click the Build tab.
3.In the General section, modify the "Generate preprocessor output"property.
4.Click here to see the property page.