|
Boost-Build : |
From: Dag Henriksson (dag_henriksson_at_[hidden])
Date: 2008-04-24 05:00:02
> Should not the PCH end up in directory like "bin/debug" or "bin/release" and consequence used only when> building the right variant, when using Boost.Build? Is this not happening, or there's some other issue?
The .pch file ends up in the same directory as the compiled SomeHeaderName.hpp file, with the name SomeHeaderName.hpp.pch. When gcc looks for SomeHeaderName.hpp it will use SomeHeaderName.hpp.pch if it exists.
gcc also supports that the .pch files reside in a directory with name SomeHeaderName.hpp.pch. If multiple .pch files exists in that directory, compiled with different settings, it will automatically pick a suitable one. This is what I try to do with cpp-pch, but with no luck so far.
BR,
Dag
> > - Volodya> _______________________________________________> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
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