Boost logo

Boost-Build :

From: Malcolm Cifuentes (malcolm_cifuentes_at_[hidden])
Date: 2005-05-26 03:22:30


Hi All,
if I echo $(var) and receive this:
object(file-target)@3

I think it means I have 3 x file-target objects, is this correct?

Is there any way I can iterate over each element/object?

I have tried a 'for in loop' which doesn't appear to work.

for local t in $(var)
{
echo "hi" ;
}

I was hoping to see "hi" displayed times.

given $(var).length returns 1 I am starting to think I've got it
wrong:)

[ $(var).str ] iterates over all 3 but I'm clueless if I can repeat
how it does it.

clues welcome
mal

 


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