|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-02-11 21:39:35
I just checked in a couple of new Boost.Jam features designed to help
with the timing of build steps:
1. You can set a __TIMING_RULE__ variable on a target to the
name of a rule that is invoked with that target's name and
the user and system time that was consumed in building it.
2. There's a new builtin rule called REBUILDS.
REBUILDS t1 : t2 ;
Says that whenever t1 is rebuilt for any reason, t2 should
also be rebuilt. For example, t1 might be a target that
records the build time of t2. Even if t2 is up-to-date, it
needs to be rebuilt when t1 is updated, so that you can
gather timing info.
Cheers,
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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