/Fp - Specify Precompiled Header (Windows CE 5.0)
The following code example causes the compiler either to use a precompiled header named Mypch.pch, if it exists, or to create the file, if it does not exist.
CL /YX /FpMYPCH.PCH PROG.CPP
If you want to create a precompiled header file for a debugging version of your program, and you are compiling both header files and source code, you can specify a command such as:
CL /DDEBUG /Z7 /Yc /FpDPROG.PCH PROG.CPP
This command assumes the existence of a hdrstop pragma in Prog.cpp and creates a precompilation of all code up to the hdrstop pragma. The precompiled code is stored in a file called Dprog.pch.
Send Feedback on this topic to the authors