Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-09-22 08:51:15


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.

- 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