Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-09-23 00:25:45

On Thursday 22 September 2005 21:56, Andrey Melnikov wrote:

> > Except that we don't have such mechanism at the moment. Trying:
> >
> > <toolset>msvc,<tool>c:<flags>-whatever
> >
> > won't work, because that will require that <tool>c in is build properties
> > when you start building the target. And when starting building the
> > target, we don't have any idea what tools will be used.
> How does it differ from the situation we have with <toolset> now?
> Toolsets aren't known either before they are used.

It differs because the value of <toolset> property is know before building
each target, when you build

exe a : a.cpp ;

<toolset> has already single specific value. At this point, conditional
requirements are evaluated. *After* that, the generators are selected and
run, and it becomes knows which tool will be used. But by this time, there
are no conditional requirements any more, soo <tool> condition won't do

- Volodya

Vladimir Prus
Boost.Build V2:

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