Boost logo

Boost-Build :

Subject: Re: [Boost-build] Iterate over registered toolsets
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-03-12 18:10:43


AMDG

On 03/12/2014 02:00 PM, tr1gun wrote:
> is it possible to iterate over all registered toolsets in a jamfile?
> What i'm trying to achieve is to register the detected intel toolset
> version for all detected msvc versions, if no specific version is passed.
>

You can use [ feature.values <toolset-msvc:version> ] to
get a list of all known versions of msvc.

> While playing around with the intel-win.jam file i encountered that the
> msvc version passed to:
> msvc.configure-version-specific intel-win : $(version_cor) : $(condition) ;
> must be e.g. 10.0 and not 10 if there is no using msvc : 10.0 ; in the
> user-confing.jam file. There seems to be some kind of dependency.
> Anyone can explain what's happening there?
>

I have no idea why that would be. Version is used exactly
three times in msvc.configure-version-specific.
[ MATCH ^(6\\.) : $(version) ]
[ MATCH ^([78]\\.) : $(version) ]
[ MATCH ^([67]) : $(version) ]
These should all fail to match regardless of whether
you use 10 or 10.0. It does matter for 8.0 obviously,
but even then the behavior shouldn't depend on whether
you've initialized msvc.

(Note: I'm working with the current develop branch
in git. Please indicate the exact version of Boost.Build
that you are using.)

In Christ,
Steven Watanabe


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