|
Boost-Build : |
From: Bojan Resnik (resnikb_at_[hidden])
Date: 2006-07-12 02:30:45
> Environment: VC7.1, Boost.Build v1. I have no problem switching to v2 if
> necessary.
PCH support is implemented for v2 only, and currently only for MSVC
compilers. For a quick guide, see comments inside
$BOOST_ROOT\tools\build\v2\tools\pch.jam.
To use precompiled headers you need a pch target among your sources:
import cast ;
pch precompiled : [ cast _ pcheader : PreCompile.hpp ] PreCompile.cpp ;
python-extension hello
: precompiled hello.cpp
: <include>../GDoc
<include>../GData
<include>../GMath
;
-- Bojan Resnik
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