Boost logo

Boost-Build :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-01-01 20:21:21


At 08:02 PM 12/29/2002, David Abrahams wrote:

>Beman Dawes <bdawes_at_[hidden]> writes:
>
>> At 05:17 PM 12/29/2002, David Abrahams wrote:
>>
>> >> Would it be possible (with a reasonable amount of effort) to change

>the
>>
>> >> output to include the "\bin"?
>> >
>> >It's possible to stick \bin in there somewhere, but I'm not sure I
>> >could do better than guessing at what you want. It's a mistake to
>> >think of those as paths. Notice the exclamation points. That's grist
>> >used to uniquely identify targets which may have the same name, and
>> >there's no guarantee that it will correspond to a real path for all
>> >targets. Looking at the examples above and the current boost tree,
>> >I'd say that if you add "\bin" before the first "\" character, you'd
>> >get something reasonable in each case.
>>
>> That seems to be work reasonably well and is covering more use cases
than
>
>> my original code which only worked for the status/Jamfile case.
>
>Note that if you use ALL_LOCATE_TARGET (always recommended), no \bin
>component will appear in the path.

I've run an initial test with ALL_LOCATE_TARGET, and the bjam part worked
fine.

The post-processing programs failed (as expected) because they didn't have
any code to handle the ALL_LOCATE_TARGET tree. Adding such an option
shouldn't be a problem.

--Beman

 


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