|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-10-27 18:51:02
Reece Dunn <msclrhd_at_[hidden]> writes:
> Zbynek Winkler wrote:
>> :) I think we should start reading each others emails. IMO what has
>> happened here is that each one of us saw the light at various points of
>> time. So I guess that we all are proposing
>>
>> actions compile.c++
>> {
>> mv @(INCLUDES) $(<).rsp
>> cl $(<).rsp ....
>> }
>>
>> where the @() syntax takes the variable, outputs its contents to a
>> temporary file and returns its filename instead.
>
> Yes! Now... how to port the functionality to bjam from Matt's code.
Probably you should just implement it from scratch. Anything
involving string manipulation (which is most things) would need to be
rewritten anyway, since Perforce Jam uses only unsafe fixed-sized
buffers. It can't be that hard. If you look at execnt.c you'll see
that there's already some code for generating temporary (.bat in this
case) files.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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