Boost logo

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

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

Bojan Resnik

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at