Boost logo

Boost-Build :

From: Bojan Resnik (resnikb_at_[hidden])
Date: 2005-09-18 08:41:06


Hi all,

I am new to Boost.Build and I am introducing it as the build system
at my company. Many times, we need to run a tool after a program has
been generated. How would you suggest to do this?

I was thinking of a custom generator, which would essentially perform
the same task as built-in exe and lib generators, and run the additional
program. I thought it might be used along the following lines:

my-exe some_name : [ glob *.cpp ] : <post-run>tool ;
my-lib a_lib : [ glob *.cpp ] : <post-run>tool ;

However, I have no idea how to go about writing such a beast. Ideally,
it would simply inherit from the built-in exe and lib rules and change
properties or run the tool.

Can you please point me in the right direction?

Thanks,
Bojan Resnik

 


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