Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-05-24 02:01:43


On Tuesday 23 May 2006 22:13, Pedro Lamarão wrote:
> Attached is a small project containing a simple target like this:
>
> exe test
>
> : main.cpp
> : <toolset>msvc
>
> <toolset-msvc:version>6.0
> ;
>
> Calling bjam in the project folder like this:
>
> bjam toolset=msvc-7.1
>
> actually builds said project... with msvc-6.0.

Given that you explicitly require version 6.0 in target requirements, this is
an expected result. If you want 6.0 to be default version, you need to put
that to default build:

   exe test
       : main.cpp
       : # no requirements
       : <toolset>msvc
         <toolset-msvc:version>6.0
       ;

HTH,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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