Precompiled header - PCH

From Apache OpenOffice Wiki
Revision as of 13:28, 13 October 2006 by Hjs (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

General

For general info see "Precompiled header" on Wikipedia


OOo build - PCH support

With the integration of cws ause060, "--enable-pch" will tell configure to enable precompiled header support for most modules, currently on windows only.

This is based on the include lines in every C/C++ file introduced by the pchfix* cws:


// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_<module_name>.hxx"


Unfortunatly, with enabled PCH the windows build will break in those modules on the first source file _NOT_ containing this include statement.

So if you're adding new sources, please make sure to fetch those lines from one of your neighbour sources and place them in your new file as _FIRST_ include made.

Personal tools