views:

135

answers:

1

We use Boost statically linked with our app but now I wan't to use Boost Test with an external test runner and that requires the tests themselves to link dynamically with Boost.Test through the use of the required BOOST_TEST_DYN_LINK define.

Is this going to be a problem or is the way Boost Test links completely unrelated to the way the other Boost libraries are linked?

Thx.

+1  A: 

I believe Boost Test does not depend on any other compiled libraries, so dynamically linking it while statically linking the other Boost libraries should not be a problem. Our linking rules don't show any dependency of Boost Test on anything other than headers, nor do the rules in the boost.jam file (though the latter is out of date).

AFoglia
+1 I agree. There should not be any problems.
Martin