7.120 --pch

Uses a PCH file if it exists, creates a PCH file otherwise.

When the option --pch is specified, the compiler searches for a PCH file with the name filename.pch, where filename.* is the name of the primary source file. The compiler uses the PCH file filename.pch if it exists, and creates a PCH file named filename.pch in the same directory as the primary source file otherwise.

Restrictions

This option has no effect if you include either the option --use_pch=filename or the option --create_pch=filename on the same command line.
Related concepts
3.22 Precompiled Header (PCH) files
Related reference
7.28 --create_pch=filename
7.121 --pch_dir=dir
7.122 --pch_messages, --no_pch_messages
7.123 --pch_verbose, --no_pch_verbose
7.155 --use_pch=filename
9.81 #pragma hdrstop
9.86 #pragma no_pch
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.