Boost logo

Boost-Build :

From: Andrey Melnikov (melnikov_at_[hidden])
Date: 2005-09-22 12:56:43


Vladimir Prus wrote:
> On Tuesday 20 September 2005 17:22, Andrey Melnikov wrote:
>
>>Reece Dunn wrote:
>>
>>>Andrey Melnikov wrote:
>>>
>>>>Also, can we just use <flags>?
>>>
>>>Then, if you have:
>>>
>>> exe foo : ... : <flags>-machine:x86 ;
>>>
>>>you add that to everything, where it should be <linkflags> as it is
>>>linker specific.
>>
>>A conflict will be even now if you use multiple toolsets. So you have to
>>specify additional conditions.
>>
>><toolset>msvc/<tool>c/<flags>-machine:x86 isn't much worse than
>><toolset>msvc/<cflags>-machine:x86
>
>
> 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.

Andrey

 


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