|
Boost Users : |
Subject: Re: [Boost-users] [Test] BOOST_TEST_NO_MAIN with pre-built BoostPro libraries
From: Alexander Lamaison (awl03_at_[hidden])
Date: 2009-08-08 17:22:40
"Gennadiy Rozental" <rogeeff_at_[hidden]> 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.
>> code I'm wokring on specifies /FORCE to the linker to make our main
>> override the library main but I think that's a horrible solution and
>> would really like to try something else.
>
> hmm. I wasn't aware about this option.
Neither was I. And I can't even find where the project specifies this but
that's what the linker output warns that it's doing. It also warns that the
"image may not run"! Eeek.
Thanks Gennadiy :)
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.
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