Boost logo

Boost-Build :

From: Alex Besogonov (cyberax_at_[hidden])
Date: 2006-10-16 05:04:23


Vladimir Prus wrote:
>> It won't work in MSVS. PCH header must be the first preprocessor
>> directive in file.
> Drats! But can you then wrap the entire "pch.hpp" content in #if
> defined(BOOST_BUILD_PCH_ENABLED)?
Yes, sure. I use it that way.

> That way, when PCH is disabled, the pch.hpp will be still included, but it
> won't have negative effect on compilation speed?
Yes.

-- 
With respect,
             Alex Besogonov (cyberax_at_[hidden])

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