From: David Abrahams (dave_at_[hidden])
Date: 2005-07-06 18:17:09
Andrey Melnikov <melnikov_at_[hidden]> writes:
>> This PCH thing becomes a common request. Recall that msvc has both "automatic"
>> pch mode, that requires, IIRC, a single switch, and "manual" mode, that
>> requires creating PCH once, and then using it from other targets.
> I named "automatic" mode "hdrstop", because it requires #pragma hdrstop.
> Borland compilers support #pragma hdrstop too, and Jamfile with
> <pch>hdrstop would be portable at least between intel-win, msvc and borland.
I don't like it; one of the things we're trying to do with Boost.Build
is to abstract away niggling little compiler dependencies like the
syntax used to implement automatic precompiled headers. I betcha
there are some linux compilers that have a similar functionality with
a different syntax.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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