Boost logo

Boost-Build :

Subject: Re: [Boost-build] [user-config.jam][stlport] how are toolset and stlib versions selected?
From: Andy Schweitzer (a.schweitzer.grps_at_[hidden])
Date: 2009-05-25 11:46:54


Vladimir Prus wrote:
> On Monday 25 May 2009 03:15:33 Andy Schweitzer wrote:
>> Can someone explain how tool usage gets resolved, given the following in
>> user-config.jam?
>>
>> In my command line I specify toolset=msvc-8.0~wm5~stlport5.2 and also
>> stlib=stlport
>>
>> How does bjam use those parameters to choose among all the possible
>> using stlport statements in user-config.jam?
>>
>>
[snip]
>>
>> It seems like the intention of multiple using statements is to allow
>> something like "if I'm using msvc-8, use my stlport-vc8; if I'm using
>> msvc-9-windows-mobile, use my stlport-vc9-windows-mobile, so the if we
>> say toolset=mscv-9.0~wm5~stlport5.2 stdlib=stlport, the correct stlport
>> should be found.
>
> No, not really. You can pass a version to 'using stlport', e.g.:
>
> using stlport : 5.2 : ... ;
>
> and then:
>
> using stlport : 5.3 : ... ;
>
> Then, the selection is made by explicitly requesting the right version:
>
> bjam stdlib=stlport-5.3
>
> There's no selection mechanism that is keyed on toolchain, or other properties.
>
> Does this help?

Yes, exactly what I was asking, thanks.
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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