Boost logo

Boost-Build :

Subject: [Boost-build] [boost-build] share requirements between projects
From: Steve Lorimer (steve.lorimer_at_[hidden])
Date: 2014-11-05 19:35:40

Hi all

We have multiple repos, each of which has their own Jamroot

We share some code between repos, so for example in a project Jamroot we'll

use-project /common : ../common/src ;

which pulls in common/src/Jamroot

We have a site-config.jam which configures our gcc toolchain etc, but the
issue I'm having is specifying common requirements for our various projects
Note below we have a number of repeated requirements. Is there a way to
configure this in site-config.jam or somehow share the common parts?


project common
: requirements


project proj1
: requirements
<include>../common/src <include>../


On a final note, and somewhat related, what is the best practice for
sharing code between repos / having multiple Jamroots etc?


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