<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
tt
        {font-family:"Courier New";}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Boost_Unit_test_framework_library is not
in the list.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>About the filenames: these libs are the
result of compiling boost 1.38.0 with cmake under linux. (Cmake for boost is
still experimental). It might be that the problem is in boost’s
Cmakelists.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Jonatan<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=3 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
cmake-bounces@cmake.org [mailto:cmake-bounces@cmake.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Philip Lowman<br>
<b><span style='font-weight:bold'>Sent:</span></b> 16 April 2009 04:46<br>
<b><span style='font-weight:bold'>To:</span></b> cmake@cmake.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [CMake] findBoost
says it finds static unit testing libraries,but does not set them</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Thu, Apr 9, 2009 at 8:31 AM, Andreas Pakulat <<a
href="mailto:apaku@gmx.de">apaku@gmx.de</a>> wrote:<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>On 09.04.09 12:49:09,
Jonatan Bijl wrote:<br>
> I've compiled the static versions of the boost libraries. When I use<br>
> findBoost to detect the unit_test_framework, it gives the following<br>
> message:<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Try to run cmake --trace to find out more...<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
> But the variables Boost_UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG and<br>
> Boost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE are not found.<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>What about BoosT_UNIT_TEST_FRAMEWORK_LIBRARY, is that one set? The<br>
DEBUG/RELEASE variables are only set (IIRC) when both debug and release<br>
libs are being found.<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
> I have set the additional-versions and use-static-libs flags before<br>
> calling find_package<br>
><br>
> I guess it has to do with the -s suffix the library files have<br>
> (libboost_unit_test_framework-mt-d-s.a)<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>If you look at FindBoost.cmake it already adds the -s when using static<br>
libs on win32. However it seems it expects -s-d.a and not -d-s.a. That<br>
may be the bug. Also FindBoost.cmake doesn't use -d, its just "d"
there<br>
(and potentially g too). So it searches for <component>-mt-s followed by<br>
either d, gd without a dash in between. At least my cmake 2.6.3 rc7 does<br>
that.<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
I'm a bit confused. The Boost documentation succinctly states that the
generated filenames have one ABI tag.<br>
<br>
"For example, if you build a debug version of your code for use with debug
versions of the static runtime library and the STLPort standard library in
“native iostreams” mode, the tag would be: </span></font><span
class=pre><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>-sgdpn</span></font></span>."<br>
<a
href="http://www.boost.org/doc/libs/1_38_0/more/getting_started/windows.html#library-naming">http://www.boost.org/doc/libs/1_38_0/more/getting_started/windows.html#library-naming</a><br>
<br>
Where did you find "libboost_unit_test_framework-mt-d-s.a"?
What version of Boost is this? Did you build it yourself or was it
packaged somewhere?<br>
<br>
ABI tags definitely need to be reworked in FindBoost regardless of where this
thread leads.<br>
<br>
<o:p></o:p></p>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>-- <br>
Philip Lowman<o:p></o:p></span></font></p>
</div>
<br>
-------------------------------------------------------------<br>
This e-mail is intended exclusively for the addressee. If you<br>
are not the addressee you must not read, copy, use or<br>
disclose the e-mail nor the content; please notify us<br>
immediately [by clicking 'Reply'] and delete this e-mail.<br></body>
</html>