On Wednesday 24 May 2006 18:52, Pedro Lamarão wrote:
> 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.
The current behaviour is what is documented:
http://boost
.org/boost-build2/doc/html/bbv2/advanced/targets.html#bbv2.a
dvanced.targets.requirements
> It seems weird that I request toolset=msvc-7.1 on the
command line and
> the target builds with another toolset.
If we want nothing to be done in this case, you can add
another "target
alternative":
alias test ;
that does nothing and will be used for other toolsets.
- Volodya
--
Vladimir Prus
http://vladimir_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|