Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-08-12 15:01:55


I would like to build the targets in two subdirectories when bjam is
invoked in the parent directory. So I found out about the build-project
rule. But can the Jamfile contain multiple build-project's?

<begin Jamfile>
build-project library1 ;
build-project library2 ;
<end Jamfile>

When I do this, my bjam crashes with a segmentation fault. I already
wrote a few messages on the ml about memory corruption in strings.c.
Well it is only in this situation (when having multiple build-project's
in my Jamfile) that I get a segmentation fault. I valgrinded bjam on a
lot of other projects (which contain no multiple build-projects) and got
zero warnings from valgrind.

So before further looking into the bjam source code or interpreted code,
I would like to know if having multiple build-project's is wrong.

On an additional note, I also would like to ask if there is some
reference somewhere about the bjam language. When looking for resolving
the above problem I tried to dive into the interpreted code but I
totally don't understand anything of it.

toon

 


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