Boost logo

Boost Users :

Subject: Re: [Boost-users] [Test] BOOST_TEST_NO_MAIN with pre-built BoostPro libraries
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-08-08 22:52:05


Alexander Lamaison <awl03 <at> doc.ic.ac.uk> writes:

>
> "Gennadiy Rozental" <rogeeff <at> gmail.com> wrote in message
> news:loom.20090808T170230-257 <at> post.gmane.org...
> > Alexander Lamaison <awl03 <at> doc.ic.ac.uk> writes:
> >
> >> Is it possible to create one's own main() implementation when using
> >> the pre-built Boost libraries from BoostPro?
> >
> > Yes. If you use shared library.
>
> Do I have to manually copy the DLL from the Boost lib directory to my output
> directory or is there some automagical way this can be found? I try to
> avoid DLLs like the plague becuase of the hassle of managing the
> dependencies.

I think easiest way is to add boost lib directory to the PATH.

You can always build Boost.Test library yourself from sources. As far as I know
whole process should not take more than 10 min (including bjam compilation).

> P.S. I've posted a test program to that thread about ATLTRACE output. It
> took me a while to see your response because it had dropped so far down my
> newsreader.

Yes. I've seen it. I'll look into it once I have a bit of free time.

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