Boost logo

Boost-Build :

From: Eric Niebler (eric_at_[hidden])
Date: 2007-04-03 15:13:26

Sorry for the newbie-ish question, but I couldn't find the answer in the
docs or by playing with BBv2, so ....

I have a situation like this:

     : requirements
       # MSVC-8's iterator debugging causes some tests to run forever.

test-suite "accumulators"
     : [ run count.cpp ]
       [ run covariance.cpp ]

This causes all of my tests to crash, because the tests are built with
_HAS_ITERATOR_DEBUGGING=0, and the unit test framework is not. What I
really need to do is build my *own* version of the unit test framework
with this define, and link to that. But I don't know how to get the
<define> requirement to propagate to the library.

Can anybody tell me the magic incantation?

Eric Niebler
Boost Consulting

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at