Boost logo

Boost-Build :

From: Dag Henriksson (dag_henriksson_at_[hidden])
Date: 2008-04-24 04:30:31


Hello!
 
gcc has the ability to have the same header file precompiled for different targets (for example debug and release), and put in a directory, named like precompiled.h.gch. The compiler will automatically find a suitable .gch file in that directory when looking for the .gch file.
 
Is it possible to use that feature with cpp-pch in boost.build? If so, how? If not, how should that situation be handled? Now, if there exists a debug version of the .gch file and I compile for release, there will be a warning that the .gch file is compiled with different settings, and the precompiled file will not be used.
 
Thanks,
Dag
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx



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