Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-08-06 02:27:56


Markus Schöpflin wrote:

> > BTW, what's is the reason for disabling pch for a file? Bugs and
> > performance?
>
> The first line of your source code has to read
>
> #include "pch_header_file.h"
>
> if you want to use precompiled headers and sometimes I simply can't or
> don't want to modify an exisiting source file to include this line.

OK, this means we can make "pch" an incindental feature (aka no-subvariant)
one -- that is build system won't try to separate targets with different pch
settings.

> As your were asking for performance, a question comes to my mind.
> Will you be able to do batch builds in V2? Which means if two or
> more source files end up with the exact same command line for
> compilation they are all passed to the compiler in one go.

We never though about it, I think. I think it would be possible to implement
some day, if this is needed. I'll make a note about it.

- 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