Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-29 01:33:36

On Friday 29 April 2005 05:20, David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
> >> > So, the python_extension rule will add
> >> > /python//python_for_extensions to the passed sources.
> >>
> >> And what is the python alias supposed to do, then?
> >
> > One can use it to link to the interpreter. Say, the 'embedding' test
> > would link to /python//python
> I think the right wayt to handle this is to have a single alias,
> "python," with some conditional usage-requirements that determine
> whether you're explicitly linking to the interpreter.

If I understand you correctly, we'd need another feature to control that, so
that you could write:

exe a : a.cpp /python//python/<really-link-to-python>yes ;

I don't see why this is superior to having two targets with different names.

- Volodya

Vladimir Prus
Boost.Build V2:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at