From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-21 02:29:11
On Monday 20 February 2006 21:02, Phillip Seaver wrote:
> So, what you would want there would be for it to look at the default
> extension for that target and not strip it off? Of course, that would
> still not be very portable, since you'd have to have the extension name
> differ for different platforms, which is one thing Jam was trying to
> avoid in the first place. :-)
> Volodya, would it be possible to somehow include the target type in the
> target name to avoid most name clashes? Or would that break the code
> that finds targets based on name?
That will break the existing code. We probably can use a different character
to disambiguate target names:
obj a_at_obj : a.cpp ;
xml a_at_xml : a.whatever ;
but we're running out of 'funny' characters. For example, '@' is already used
to signify when something is a rule name.
Maybe, explicit <name> is the only reasonable solution.
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