Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-11-30 11:04:29


Vladimir Prus wrote:
>
> Dave,
> python.jam in some places checks if BOOST_DEBUG_PYTHON is in properties, and
> if that's the case links to debug python library.
>
> Could you clarify if checking for BOOST_DEBUG_PYTHON is better than checking
> for debug-python build variant, and why?

I don't think it _is_ better, actually. I'm not sure I even knew how to
check the variant in BBv1, other than by an unprincipled examination of
the variable used in the big loop over variants and toolsets.

> Sorry for flooding you with questions, but Boost.Python setup appears to be
> the most complex thing in Boost,

Yes, it's much too complicated and has evolved many many warts over the
years.

> and I would not like to write V2 setup that I won't be able to understand later.

I suggest you start with the simplest thing that could possibly work,
and then watch the tests to see where tweaks are needed.

-- 
Dave Abrahams
Boost Consulting
http://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