Boost logo

Boost-Build :

Subject: [Boost-build] Dependent install targets
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2008-12-01 04:07:27


assuming I've got an install target (installing executables) inside the
fictive project A's Jamroot:

I'd like to declare an install target inside a dependent project B, which
installs the contents of project A's install target alongside with the local
installation contents.


- Project A installs a.exe to e.g. /projA/bin/a.exe
- Project B installs b.exe to e.g. /projB/bin/b.exe
- The latter should also include project A's a.exe target installation to

Is there a way of doing this by simply referring to a single target defined
within project A?

I guess it would be possible to explicitly refer to specific targets from
project B, e.g. "/projA/src/a/Jamfile//a", but I'd like project A to define
what dependent projects gets to install.

TIA / Johan

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