Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-07-01 18:11:23


Andrey Melnikov <melnikov_at_[hidden]> writes:

> David Abrahams wrote:
>> Andrey Melnikov <melnikov_at_[hidden]> writes:
>>
>>
>>>BBv1 uses -sTOOLS=msvc syntax. How can I specify the toolset in bbv2?
>>>Now I use "using [ modules.peek : TOOLS ] ;" in my Jamfiles. Is there a
>>>more straightforward way?
>>
>>
>> Put the "using" in your user-config.jam, and just specify "msvc" on
>> the bjam command-line
>>
>> bjam --v2 msvc whatever
>>
> Do you mean that in user-config I specify configurations for all
> toolsets installed on my PC, and then use whatever toolset I want just
> by specifying its name on commandline?

Yep!

> Does msvc really means toolset=msvc?

Yep!

> I got "unknown value for toolset
> feature" errors before, but now toolset=msvc works.

Because it's been configured in your user-config.
Or because we removed the error checking.

> The documentation looks unclear for me now. I'll try to contribute
> getting started guide.

Please! It's been a struggle to produce documentation that *I* can
understand.

> What if I have both msvc 7.1 and 8.0? How should I specify them both
> in user-config?

Easy way:

import msvc-config ;

"Hard" way:

using msvc : 7.1 ;
using msvc : 8.0 ;

> Can I build with multiple configurations with multiple toolsets at once?

Of course!

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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