
8 Aug
2009
8 Aug
'09
5:02 p.m.
Dmitry Goncharov <dgoncharov <at> unison.com> writes:
It is possible to have function main() in a dedicated library, not in libboost_unit_test_framework. In this case users who don't want to implement main() can link against that dedicated library. This lets static and dynamic libboost_unit_test_framework libraries be interchangeable.
There is also such thing as backward compatibility. Don't you think users who currently use static library variant of UTF would complain if all their test would start failing linking? There is an option already to have static library without main BOOST_TEST_NO_MAIN, but it had to be used when library is built. Gennadiy