Boost logo

Boost-Build :

From: Renaud Lepere (renaud.lepere_at_[hidden])
Date: 2005-10-28 08:08:29


> The idea is to use BBv2 options in variants such as
> <warnings>off, so these
> are converted appropriately to the correct flags for a
> toolset. However, you
> might want to try:
>
> variant crazy : profile :
> <toolset>msvc:<linkflags>-fixed:no
> <toolset>gcc:<linkflags>-syntax-check
> ;
>

I tried to define it in my jamroot

variant crazy : profile : <toolset>msvc:<linkflags>/fixed:no ;

But this gives me an error
c:/Renaud/boost-build/build\feature.jam:431: in feature.validate-value-string from module feature
error: "msvc:<linkflags>/fixed:no" is not a known value of feature <toolset>
error: legal values: "gcc" "msvc"
c:/Renaud/boost-build/build\property.jam:250: in validate1 from module property
c:/Renaud/boost-build/build\property.jam:273: in property.validate from module property

If i define it in the jamfile, it works without problems.
exe opaline3 : main.cpp $(SOURCES) : <toolset>msvc:<linkflags>/fixed:no ;
 
> exe optimised : main.cpp
> :
> <cxxflags>/GL <linkflags>/LTGC
> ;
>
> This is what the migration guide was meaning by the
> <cxxflags>/GL <linkflags>/LTGC
> line. I should really make this clearer in the introduction section.

Ok ! in fact i wanted to group those options as new configurations/variants
and only build with them. I will read the manual a bit more.

Thanks a lot

Renaud

 


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