Boost logo

Boost-Build :

From: Janssen, Olaf ST/HZA-TBE (janssoaf_at_[hidden])
Date: 2006-01-30 02:35:47


> As i have converted our build system to boost build v2 i am
> struggling
> with hopefully the last addition.
> PCH Support on VC8.. I have basically no clue on how to use that
> correctly and the examples in pch.jam don't seem to work
> correctly. Also
> the mailing list search is not there, and google does not
> seem to index
> it to far back.. So i am asking you what to do to get PCH
> support working:

Here's a working example:

pch stdafx : [ cast _ pcheader : Stdafx.h ] Stdafx.cpp ;

lib Dialogs : stdafx $(SOURCES).cxx Dialogs.rc
     : <toolset>msvc
     : debug release
     ;

Olaf


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