Boost logo

Boost-Build :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-08-04 14:33:35


AMDG

Jurko Gospodnetić wrote:
> Does work ok, but it also allows this:
>
> > set environment for Visual Studio 2005 Express
> > bjam toolset=msvc-9.0
>
> Which will definitively cause confusion. :-)

In this case, the error is fairly obvious, so I would say
trust the user. However, if the environment is set
somewhere other than immediately before invoking
bjam it isn't as obvious.

I think the safest way would be to rely on the user-config.jam
rather than the environment.

using msvc : version : : <setup>some batch script.bat ;

We should assume that after the setup script is run, all
the tools are in the path. In this case, I don't think it's
worthwhile trying to protect users from themselves, .

I'm thinking that since the auto-detection does the right
thing most of the time, we should simply require that
the toolset requested on the command line is either
auto-detected or explicitly initialized.

In Christ,
Steven Watanabe


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