
Matěj Týč
Simplest approach is to use dynamic library variant of the UTF I have noticed that I don't have to pass any libraries to the compiler and everything links fine when #defining BOOST_TEST_DYN_LINK, however
I believe you still have to, isn't it?
it takes a lot of time to compile. I am on Linux and I use autotools that pass the -lboost_unit_test_framework-mt flag to the linker.
What does this lead to? I mean will it link with static or shared library?
However, I still get undefined references or compilation errors when BOOST_TEST_DYN_LINK is not defined...
Please post them.
There is an ability to use automated registration for test units as well if you opt to. Yes, I would actually like the computer to do some work for me. I have used some BOOST_AUTO_TEST_CASE and BOOST_AUTO_TEST_SUITE macros, but I still have to supply an init function to boost::unit_test::unit_test_main, right?
Yes. Even if it's empty.
What is its name?
it's not restricted. Only signature. I can't know that since it should be autogenerated. No. It can be, not "should be". Gennadiy