Boost logo

Boost-Build :

Subject: [Boost-build] bcp rule
From: Matthew Chambers (matthew.chambers_at_[hidden])
Date: 2009-08-18 18:55:35


In additional to tarball capability, I'd like the ability to build and
run bcp by calling a rule with a list of targets and/or files to scan
for boost dependencies and a destination path for the dependencies to be
copied to. A calling syntax as simple as:
[ bcp
    : # sources
    : # requirements
] ;
would be excellent. This capability would synergize with a tarball rule
like mine or John Bito's suggestion.

Since bcp is simple to build but has some boost dependencies
(filesystem, regex, and prg_exec_monitor), I found it expedient to put a
prototype bcp rule in the boost.jam extension written by grafik:
We're already using boost.jam in our project to set up and build our
project's boost dependencies, and I've added support for a few extra
libraries as well. I just added support for the test library to get bcp
to build.

Has anybody else using boost-build land done something similar? Is
bcp.jam already out there and I missed it? If not, I figure this will be
a great addition to grafik's boost.jam, or possibly a corollary to it.


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