Boost logo

Boost-Build :

From: Chris Hoeppler (hoeppler_at_[hidden])
Date: 2006-10-21 15:42:41


Hi,

the docs for boost.test state, that BOOST_TEST_DYN_LINK needs to be added to
the list of defines when a dynamic library is built. While BBv1 does so, BBv2
fails to do this:

BBv2:

    "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC
-DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DNDEBUG -I"." -c -o
"bin.v2/libs/test/build/gcc/release/unit_test_main.o"
"libs/test/src/unit_test_main.cpp"

BBv1:

    "g++" -c -DNDEBUG -DNDEBUG -DBOOST_TEST_DYN_LINK=1 -O3
-finline-functions -Wno-inline -Wall -fPIC -ftemplate-depth-255
-I"bin/boost/libs/test/build" -I "/home/hoeppler/src/boost_RC_1_34_0" -o
"bin/boost/libs/test/build/libboost_unit_test_framework.so/gcc/release/shared-linkable-true/unit_test_main.o"
"/home/hoeppler/src/boost_RC_1_34_0/libs/test/build/../src/unit_test_main.cpp"

Does this need to be fixed for the release or am I missing something?

Chris


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