Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-10-15 15:30:10


I was thinking more about PCH support. While it can decrease compilation time
for toolsets with PCH support, having a central header including all STL and
all Boost, and all Windows headers will reduce compilation time when PCH is
not available. How about making pch generators set a macro, has
BOOST_BUILD_PCH_ENABLED, so that client code can use this:

   #if defined(BOOST_BUILD_PCH_ENABLED)
   #include "pch.h"
   #endif

Then, if toolset lacks PCH support, the pch header won't be included at all.

Thoughts?

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk