Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-01-13 03:22:50


Hi Claudio,

> First at all, thanks for so much for your responses, your help was
> absolutely invaluable and enlightening. Very appreciated. With your
> comments I was able to get the job done, at last! It was pretty depressing
> being stuck at this without a clue.
>
> Volodya, just one tiny, not critical question, regarding this code snippet:
> > # Get all child Jamfiles
> > local sub = [ glob */Jamfile ] ;
> > # Strip filenames, getting just directories;
> > sub = $(sub:D) ;
> > for local s in $(sub)
> > {
> > build-project $(s) ;
> > }
>
> Do I just put that code inside test's Jamfile and that's it? Do I have to
> import something or put anything else?
> With this code, I'm getting this error:
>
> C:/dev/boost/tools/build/v2/util\path.jam:162: in path.join from module
> path
> error: only first element may be rooted

Sorry, it seems like there's a bug in current code. I've fixed this, and
tested with the following Jamroot (copy-paste of actual working example):

   local sub = [ glob */Jamfile ] ;
   sub = $(sub:D) ;
   for local s in $(sub)
   {
      build-project $(s) ;
   }

Can you update to CVS HEAD and try again?

- Volodya


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