Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-03-31 08:24:32


Vladimir Prus <ghost_at_[hidden]> writes:

> Hi Vincent,
>
>> I shouldn't be so terse. I meant TOOLS as in "bjam -sTOOLS=gcc". Is
>> there a way to specify a default for that bjam command-line option?
>
> Not exactly that, since V2 does not use -sTOOLS, but something close is
> possible, in a number of ways:
>
> 1. The toolset which is first defined in 'user-config.jam'/'site-config.jam'
> becomes default.
>
> 2. You can change default toolset for your project with
>
> project
> : default-build <toolset>msvc
> ;
>
> 3. You can also change default toolset globally by
>
> import feature ;
> feature.set-default toolset : msvc ;
>
> but this is probably not needed since you have (1)

You can also specify the toolset to use on the command-line, via:

bjam msvc

or

bjam toolset=msvc

-- 
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