Boost logo

Boost Users :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-04-24 16:45:38


"Johannes" <johannes.stromberg_at_[hidden]> wrote in message
news:e2ig04$7ml$1_at_sea.gmane.org...
> In one of our applications we develop modules that are loaded in to
> another application (AutoCAD).
>
> Since we don't have access to the main function and the modules don't work
> outside of the application I was wondering if there is a way to make
> Boost::Test work in an ordinary function? I have not been able to find any
> such information.

You could do that. remove unit_test_main from static lib and write your own
similar. Also latest (in cvs ) version of Boost.Test support dynamic library
build. It doesn't define main at all. Let me know how would you prefer to
move on and I could give you more help.

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net