| |||
| Home > Compiler Command-line Options > Command-line options > --pch | |||
This option instructs the compiler to use a PCH file if it exists, and to create a PCH file otherwise.
When the option --pch is specified, the compiler
searches for a PCH file with the name ,
where filename.pch is
the name of the primary source file. The compiler uses the PCH file filename.* if
it exists, and creates a PCH file named filename.pch in
the same directory as the primary source file otherwise.filename.pch
This option has no effect if you include either the option --use_pch= or
the option filename--create_pch= on
the same command line.filename