Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-02-11 10:45:41


I'm still nibbling at Python support in V2. This time the question is how to
find Boost.Python library.

Say, user writes:

using python : 2.3 ;
python-extension getting_started : getting_started.cpp ;

The 'python-extension' rule must arrange for Boost.Python to be linked with
the created python extension. I see two approaches to find Boost.Python

- Just grep relatively to BOOST_BUILD_PATH, like boostbook does
- Allows the user specify explicit location.

I think it's best to allow both approaches:

# Tries to find Boost.Python form BOOST_BUILD_PATH
using python : 2.3 ;

# Explicit 'using bpl' specifies the location of Boost.Python
using python : 2.3 ;
using bpl : /home/ghost/Work/boost/libs/python ;

Comments?

- Volodya

 


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