Boost logo

Boost-Build :

Subject: [Boost-build] staging subprojects
From: Jim Gallagher (jim_at_[hidden])
Date: 2009-09-23 13:59:46


I have a project tree, and I force the entire tree to be built by invoking
the build at the root. I have the following in my Jamroot:

# find all the jam subprojects
JamProjects =
    [ MATCH (.*)/Jamfile : [ glob-tree Jamfile ] ]

#build-project $(BJamProjects) ;
for local proj in $(JamProjects)
    build-project $(proj) ;

Building works fine. In addition to a lib or exe rule, most of the
subprojects have an install rule that looks like this:

install stage
    : theLib
    : <location>$(STAGE_SERVER)

Running bjam stage in each of the subprojects works as expected, resulting
in a copy of the lib or exe being place in the specified directory. I am
having difficulty getting a root build to have each subproject run the stage
target. Any suggestions as to how I could accomplish this?

Jim Gallagher

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