<div class="gmail_quote">On Sat, Sep 19, 2009 at 2:46 PM, motes motes <span dir="ltr"><<a href="mailto:mort.motes@gmail.com">mort.motes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have just installed boost for windows:<br>
<br>
<a href="http://www.boostpro.com/download" target="_blank">http://www.boostpro.com/download</a><br>
<br>
Now I would like to use the boost unit-testing framework in my<br>
application that I build with cmake. Any but how do I add the boost<br>
unit testing framework to my current CMakeLists.txt file?<br></blockquote><div><br>Please read the documentation for FindBoost.cmake. There are examples for specifying boost libraries as COMPONENTS. You may also need to manipulate Boost_ADDITIONAL_VERSIONS.<br>
<br>Also, you may have better luck with the FindBoost from CMake CVS until 2.8.0 is released. I'm pretty sure the BoostPro install directory changed at some point (1.39 or 1.40..?) and there was a bugfix to FindBoost which was after the 2.6.4 release.<br>
<br><a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Modules/FindBoost.cmake?root=CMake">http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Modules/FindBoost.cmake?root=CMake</a><br></div></div><br>
-- <br>Philip Lowman<br>