Boost logo

Boost :

Subject: Re: [boost] [unit_test_framework] plans?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-08-08 13:02:07

Dmitry Goncharov <dgoncharov <at>> 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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at