From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-02-19 23:13:32
I've hacked builtin.jam to provide a rudimentary capability to
enumerate every single source file and include path that will be
built for a given invocation of bjam (it's a primitive source code
distribution capability). It's not elegant but it works. But I want
bjam to exit once it's finished generating the source distribution.
Is there an easy way to tell when bjam has finished processing
Jamfiles and source files and is about ready to start compiling? I
want to find a place in bjam's processing where my source
distribution is complete but before it starts compiling. The point
here is that if a user requests a source distribution, I want to
generate the distribution files and exit, I don't want bjam to
continue on to the build phase.
The only solution I know if that when bjam says ...patience..., I
know I can ctrl-C and have a complete set of source and headers
copied to my distribution directory. Does anyone know if the
generator calls some function when it's about to start compiling that
I could hook to force to bjam to exit if a distribution was
requested? Or maybe another way to accomplish this?
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