Boost logo

Boost-Build :

From: Yang Zhang (yanghatespam_at_[hidden])
Date: 2008-02-26 03:57:25


Hi, I'm just getting started with BB, and I had a couple of questions I
couldn't find answers to in the docs (though I have not very thoroughly
read through it, esp. the language details sections):

- I'd like to have debug mode use -g3 rather than -g always. I know I
can simply do:

   exe a : a.cc : <toolset>gcc:<cxxflags>-g3 ;

but I'm wondering if I can do this (1) globally and (2) actually
changing the -g to be a -g3 (rather than appending a flag to the
command-line).

- Are there any repositories of recipes/extensions/etc. for BB? E.g.,
when I'm writing my own variants or other extensions, perhaps others out
there have already done what I wanted, and perhaps more eyes lead to
better such extensions.

- Are there any Apache Maven-like tools that could work with BB (like
DART for CMake)? I'm mainly thinking of things like project status
dashboards, test/style reports, continuous integration across projects,
etc., and not the automatic dependency downloading.

- Are there tools (inside BB or outside) that can produce packaging of
any kind? (Anything from binary .deb's to autotools-based source packaging.)

- Is there any way to get BB to use gcc's -M flag for finding full paths
to dependencies (when that's available)? This is esp. helpful if I am
modifying header files that globally shared (either in
/usr/local/include, or another location like /opt/include but via
CPATH/CXX_INCLUDE_PATH/etc.), and don't want to explicitly mention
/usr/local/include in all my Jamfiles (which works since then BB would
know what files' timestamps to watch - I tested this).

- Does BB support ccache-like functionality? Also, does it support
pre-compiled headers out of the box?

Thanks in advance!

-- 
Yang Zhang
http://www.mit.edu/~y_z/

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