Boost logo

Boost-Build :

From: Daniel Lidström (daniel.lidstrom_at_[hidden])
Date: 2006-07-11 03:35:35


Hello!

I'm currently experimenting with Boost.Python, trying to write my first
jamfile.
I need to turn on precompiled headers, due to the way my previous projects
have
been set up. Here is my attempt so far:

# This is the top of our own project tree
project-root ;

# Include definitions needed for Python modules
import python ;

# import pch ; # pch not found

extension hello # Declare a Python extension called
hello
: PreCompile.cpp hello.cpp # source
    # requirements and dependencies for Boost.Python extensions
    <template>@boost/libs/python/build/extension
    : <pch>on:<source>PreCompile
      <include>../GDoc
      <include>../GData
      <include>../GMath
    ;

Somebody posted a patch to this list that had to do with precompiled
headers.

I haven't been able to find any relevant documetation, so any help is much
appreciated!

Environment: VC7.1, Boost.Build v1. I have no problem switching to v2 if
necessary.

Hälsningar,
Daniel
SBG AB

Phone: +4687112090
Fax : +4687112098
Location:
       59 14'10" N
       18 00'09" E


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