Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-05-28 02:40:38


David Abrahams wrote:

> > it's possible to ask user to have "using msvc ; " somewhere. But that
> > might cause warnings that msvc is not found. Further, for
> >
> > <toolset>msvc-7.1:<cflags>...
> >
> > user should declare *specific* version of toolset.. It's hard to do that
> > inside boost's project-root.jam, because it's not clear what path to use,
> > for example, and how the user can configure the same version in
> > user-config.jam
> >
> > So, we've two choices:
> >
> > 1. Don't validate condition at all
> > 2. Provide the means for user to say: 'msvc-7.1' is OK as the value.
> > This, however, might be very tricky, since "msvc-7.1' is really a
> > shortcut for
>
> 3. Automatically do "using msvc" the first time such a condition is
> encountered. However, set things up so the toolset won't complain
> about not finding the compiler.

And how do we know
1. What toolset to load?
2. What version to configure?

I'm thinking we better treat <toolset> in a special way and allow undeclared
values of that feature.

- Volodya

 


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