Boost logo

Boost-Build :

From: Jim Babcock (jbabcock_at_[hidden])
Date: 2007-06-08 16:26:48


Each time bjam builds a target, it prints the rule used and the location of
the target, which produces a line like
   intel-linux-C++-action
bin/exampleproject/intel-linux/release/debug-symbols-on/optimization-speed/profiling-off/runtime-link-dynamic/shared-linkable-true/threading-single/examplefile.o

I'd like to replace this with something more concise and useful, to show
what's going on without drowning out errors and warnings. With make(1), I
would do this by prefixing each command with @ and echo-ing my desired
output before each command. I would like to do something similar in bjam,
but I can't figure out how.

(More specifically, I want the name of the source file rather than the name
and path of the object file, an abbreviated form of the action name instead
of the whole thing, and some indentation in front of each line.) Is this
possible and, if so, how would I go about it?

-- Jim Babcock


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