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?


> Does msvc really means toolset=msvc?


> 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

> 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

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at