Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-09-30 05:35:53


On Friday 29 September 2006 19:54, David Abrahams wrote:
> What the heck is this condition parameter supposed to do?

There's no such parameter. Do you mean 'extra-lib-conditional' variable in
init-unix? If yes, commented as attached.

> There's no
> documentation at all, and the name really gives me no clue as to what
> it's for. It appears to be gcc-specific?

If you mean the 'condition' parameter to init-unix, this is meant to allow one
to specify specific condition under which the configured version of Python
will be used. So that you can configure two python versions which will be
used for different build properties, just like alternatives mechanism allow.
I don't remember exactly why it was added, either building 32 and 64-bit
tests, or something like that.

>
> The same sort of bafflement goes for cygwin-condition

Originally meant so that you can configure Python differently for cygwin and
native windows compilers. Essentially the same as condition to 'init-unix',
but never tested.

- 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