Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-06-27 10:25:01


[2003-06-27] Vladimir Prus wrote:

>Rene Rivera wrote:
>
>> No. Each individual command in the action is short enough to fit. Jam
>> doesn't feed the whole thing as one command line it does each line of the
>> action individually.
>>
>> I tested the obligatory: bjam --help-enable-detailed --help-output html
>> --help-all
>
>Oh... I don't know how you've arranged that, but it really works
line-by-line.
>That's excellent!

Thanks :-) But it a simple trick:

some-lines on x = "one" "two" ;
_ on x = " " ;
nl on x = "
" ;
echo-action x ;

--
actions echo-action
{
echo$(_)$(some-lines)$(nl)
}
The variable expansion turns it into:
echo one
echo two
Because of the new-line in the nl var.
-- grafik - Don't Assume Anything
-- rrivera (at) acm.org - grafik (at) redshift-software.com
-- 102708583 (at) icq
 

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