Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-10 10:10:41


Markus Schöpflin <markus.schoepflin_at_[hidden]> writes:

> But after trying the documented approach, I think the second reason is
> that with the patch the usage is easier and more concise. Compare
>
> bjam
> -sTOOLS=gcc
> -sPYTHON_ROOT=/net/camos/opt
> -sPYTHON_INCLUDES="/net/camos/opt/include/python2.3
> /net/camos/opt/exec/Linux-i686/include/python2.3"
> -sPYTHON_VERSION=2.3
> hello
>
> to
>
> bjam
> -sTOOLS=gcc
> -sPYTHON_ROOT=/net/camos/opt
> -sPYTHON_EXEC_ROOT=/net/camos/opt/exec/Linux-i686
> hello
>
> What do you think?

I'm not convinced you can really get away without setting
PYTHON_VERSION in either case. It's used to identify the Python
library.

-- 
Dave Abrahams
Boost Consulting
http://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