From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-02-21 03:42:42
David Abrahams wrote:
> > jam now is quite benign toward binding several targets to the same
> > location. In general, this cannot be made error. However, suppose that
> > two targets are bound to the same location via LOCATE variable. For me,
> > this looks like 100% error, and I'd like to be reported as such, or at
> > least become warning. In Boost.Jam, such warning/error can be trivially
> > added.
> > Is this desire resonable? Or there are valid use cases where two targets
> > are bound to the same location via LOCATE?
> Yep, check out
> c:/boost/tools/build/test/testing-primitives/bootstrap.jam or
> failed-test-file in tools/build/testing.jam.
Looked at the latter example -- yes, two targets are bound to the same
location. OTOH, I did not understand why "failed as expected" should
be output to target... but anyway, gotta think about other way.
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