Boost Test dynamically or statically linked?
We use Boost statically linked with our app but now I want 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 goi开发者_如何学Cng to be a problem or is the way Boost Test links completely unrelated to the way the other Boost libraries are linked?
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).
精彩评论