|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-05-24 22:25:21
Pedro Lamarão <pedro.lamarao_at_[hidden]> writes:
> Vladimir Prus escreveu:
>
>> 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
>> ;
>
> Hum...
> Shouldn't that bjam invocation fail?
> My intention is not to make msvc-6.0 the default compiler, but the only
> compiler where this target builds.
> It seems weird that I request toolset=msvc-7.1 on the command line and
> the target builds with another toolset.
I agree, that violates reasonable expectations.
-- 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