Compilation with multiple PreCompiled
Header (PCH) files
More than one PCH file might apply to a given compilation.
If so, the largest is used, that is, the one representing the most
preprocessing directives from the primary source file. For example, a
primary source file might begin with:
If there is one PCH file for xxx.h and
a second for xxx.h and yyy.h,
the latter PCH file is selected, assuming that both apply to the
current compilation. Additionally, after the PCH file for the first two
headers is read in and the third is compiled, a new PCH file for
all three headers is created if the requirements for PCH file creation
are met.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.