Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-28 08:02:38


On Thursday 28 April 2005 16:45, David Abrahams wrote:
> David Abrahams <dave_at_[hidden]> writes:
> > Ambiguity and lack of comments make this needlessly unhelpful.
>
> And what could this possibly mean?
>
>
> rule init-mac ( version : root : includes ? : libraries ? )
> {
> ...
> alias python
>
> : <include>$(includes)
>
> ;
>
> alias python
>
> : <os>MACOSXX <toolset>darwin
> :
> : <framework>$(PYTHON_FRAMEWORK)
>
> ;
> }

I suppose this part is unfinished and what I meant is:

alias python_for_extensions
: : :
: <include>$(includes)

;

alias python

: <os>MACOSXX <toolset>darwin
:
: <framework>$(PYTHON_FRAMEWORK)
;

At least on Linux, as I understand, extensions should include Python headers
but don't link to Python interpreter. So, the python_extension rule will add
/python//python_for_extensions to the passed sources.

I think I wanted to implement the same for darwin.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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