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 have 

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?

common/src/Jamroot:

project common
: requirements
<include>.
<include>third_party
<link>static
<find-shared-library>pthread
;

porject1/Jamroot:

project proj1
: requirements
<include>.
<include>../common/src <include>../
<include>../common/src/third_party 
<link>static
<find-shared-library>pthread
;


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

TIA
Steve