Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2006-12-10 19:09:53


David Abrahams <dave_at_[hidden]> writes:

> I'm trying to build a Jamfile that declares a main target that is a
> python extension and then another main target that is a test of that
> extension. Unlike the way testing was done in BBv1, I see no obvious
> way to do that. The only examples I have of such tests build the
> generation of the extension targets into a generator, which is not
> only overly complex, but fails to expose the top-level target for the
> Python extension. Doing what I want here ought to be easy.

Hmm, it *looks* like that generator is able somehow to handle both
python extensions /and/ .cpp files as sources. Have I got that right?

Next problem: I want to test Boost.Python auto-linking using BBv2. I
built and staged the Boost.Python library, and then I declared some
python-extension's, and tried to build them. Somehow it started
building the Boost.Python binary again. It should be possible to
declare python extensions that don't depend on Boost.Python and there
should be a way to create Boost.Python extensions that use a prebuilt
Boost.Python.

Please help.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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