|Non-Confidential||PDF version||ARM DUI0472M|
|Home > Compiler Features > Selectively applying Precompiled Header (PCH) file processing|
You can selectively include and exclude header files for PCH file processing, even if you are using automatic PCH file processing.
Support for Precompiled Header (PCH) files is deprecated from ARM Compiler 5.05 onwards on all platforms. Note that ARM Compiler on Windows 8 never supported PCH files.
#pragma hdrstop directive to insert a manual header stop point in the primary source file. Insert it before the first token that does not belong
to a preprocessing directive. This enables you to specify where the set of header files that
is subject to precompilation ends. For example,
#include "xxx.h" #include "yyy.h" #pragma hdrstop #include "zzz.h"
In this example, the PCH file includes the processing state for xxx.h
and yyy.h but not for zzz.h. This is useful if you
decide that the information following the
#pragma hdrstop does not justify
the creation of another PCH file.