Email lists > Boost Build System > Re: [Boost-build] how to add conditional requirement for a particular toolset? > Re: [Boost-build] how to add conditional requirement for a particular toolset?

Re: [Boost-build] how to add conditional requirement for a particular toolset?




This post if a part of  this thread

2007-11-07 07:22:04
Re: how to add conditional requirement for a particular toolset?
Thorsten Ottosen wrote:

> Dear all,
> 
> I want to add extra compilation flags to one compiler,
but only for the
> release build. I tried the following:
> 
>      
<toolset>msvc-8.0:<variant>release:<cxxflags&
gt;"/GF /GL /Ox /Ot
> /fp:fast /arch:SSE2 "
>          
<toolset>msvc-8.0:<variant>release:<linkflags
>"/LTCG /opt:ref
> /opt:icf"

Looking at 

http://boost
.org/boost-build2/doc/html/bbv2/advanced/targets.html#bbv2.a
dvanced.targets.requirements

I see a different syntax for the case where condition has
several features.

- Volodya


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

about | contact  Other archives ( Real Estate discussion Medical topics )