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


Hi,

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.

Example:

- 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
/projB/bin/a.exe

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 acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk