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:

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

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

clues welcome


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at