$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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:
project
: requirements
<library>/boost/test//boost_unit_test_framework
<link>static
# MSVC-8's iterator debugging causes some tests to run forever.
<toolset>msvc-8.0:<define>_HAS_ITERATOR_DEBUGGING=0
;
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 www.boost-consulting.com