Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-06 10:29:36


On Tuesday 05 April 2005 21:52, Craig Rodrigues wrote:

> > For the case of several directories, you need the 'glob' rule:
> > SRC = hello.cpp hello2.cpp ;
> > DIRS = /tmp/foo1 /tmp/foo2 ;
> > exe hello : [ glob $(DIRS)/$(SRC) ] ;
>
> Hi,
......
> exe hello : [ glob /tmp/foo1/*.cpp ] ;
> #exe hello : [ glob $(DIRS)/$(SRC) ] ;
>
>
>
> bjam just seems to spin around forever,
> without actually doing anything.

Oh.. it's some jam wierdness -- when trying to get directory name of '/' it
returns the same '/', so recursion in 'glob' never stopped.

I've just committed a fix for this. Can you try again?

Thanks,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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