Boost logo

Boost-Build :

From: Jaroslav Gresula (jgresula_at_[hidden])
Date: 2006-07-16 18:37:42


Reece Dunn wrote:
> Jarda Gre¹ula wrote:
>
>>my scenario is that I use msvc toolset configured like this:
>>
>>using msvc : x.y ;
>>
>>but every now and then I use msvc toolset configured in this way:
>>
>>using msvc : x.y : : <compiler>nmcl.exe <linker>nmlink.exe ;
>>
>>Is there a way to define these side-by-side in a Jamfile and select one of them
>>from command line?
>
>
> You can do this in your user-config.jam:
>
> using msvc : 7.1 ;
> using msvc : 7.1nm : : <compiler>nmcl.exe <linker>nmlink.exe ;
>
> and then:
>
> bjam msvc-7.1
>
> for when not using the nm wrapper, and:
>
> bjam msvc-7.1nm
>
> for when you do. You could also have the stlfilt wrappers:
>
> using msvc : 7.1filt : : ... ;
>
> NOTE: There is no - between the version number and the text and that the text appears after the version. These are due to the way that bjam processes build options in the first case and identifies compiler versions in the second.
>

Now I have a problem with compiler version checking. So far I've been
using <toolset-msvc:version>7.1 but it looks like it does not match
'msvc-7.1nm'. Any ideas how such condition could look like?

Thanks,
Jarda.


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