Hicham,<br><br>Sorry for confusing. I supposed you asked about how to handle different versions of the Boost (1.42, 1.44 etc) on the same build server.<br><br><br><br><div class="gmail_quote">On 6 December 2010 00:16, Hicham Mouline <span dir="ltr"><<a href="mailto:hicham@mouline.org">hicham@mouline.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">> -----Original Message-----<br>
> From: <a href="mailto:philiplowman@gmail.com">philiplowman@gmail.com</a> [mailto:<a href="mailto:philiplowman@gmail.com">philiplowman@gmail.com</a>] On Behalf<br>
> Of Philip Lowman<br>
</div><div class="im">> Sent: 05 December 2010 04:54<br>
> To: Hicham Mouline<br>
> Cc: Philip Lowman; CMake mailing list<br>
> Subject: Re: [CMake] FindBoost: find both win32 and x64 static libs<br>
><br>
</div><div class="im">> On Saturday, December 4, 2010, Hicham Mouline <<a href="mailto:hicham@mouline.org">hicham@mouline.org</a>><br>
> wrote:<br>
> ><br>
> > I was wrong. Dmytro pointed out that bjam allows building boost<br>
> > libraries with the compiler and bitness in the boost library name --<br>
> layout=versioned.<br>
> ><br>
> > Therefore, I could have both 32 and 64bit versions in the same<br>
> > directory.<br>
> ><br>
> > I wonder then if FindBoost is able to detect automatically the<br>
> > right ones based on the name of the libs.<br>
><br>
> I could probably add this feature, I'm pretty sure there isn't support<br>
> for it now. Could you create a feature request on the CMake bug<br>
> tracker and include what the filenames look like when generated by<br>
> visual studio?<br>
><br>
> If you want to try to patch FindBoost yourself, please make sure<br>
> you're playing with the version from 2.8.3.<br>
><br>
> <a href="http://www.cmake.org/Bug" target="_blank">http://www.cmake.org/Bug</a><br>
> Philip Lowman<br>
<br>
</div>I've built both win32 and x64 versions of boost thread library with the<br>
following 2 lines:<br>
<br>
1. 32bit cl.exe from msvc9 directory in the %PATH%<br>
bjam --with-thread --layout=versioned toolset=msvc address-model=64<br>
variant=release link=static threading=multi runtime-link=shared<br>
<br>
2. 64bit cl.exe from msvc9 directory in the %PATH%<br>
bjam --with-thread --layout=versioned toolset=msvc address-model=64<br>
variant=release link=static threading=multi runtime-link=shared<br>
<br>
however, the resulting .lib files have identical names however:<br>
libboost_thread-vc90-mt-1_44.lib<br>
libboost_thread-vc90-mt.lib<br>
<br>
Dmytro, there is no distinction between 32bit and 64bit. The 64bit lib size<br>
is approximately double the 32bit lib.<br>
<br>
boost-build, how to change this to include the bitness in the boost lib<br>
name?<br>
If it's impossible, Philip, perhaps FindBoost could be changed to allow for<br>
different directories under BOOST_ROOT for the lib directories, something<br>
like lib\win32 and lib\x64 or whatever names can be agreed on.<br>
<br>
rds,<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Dmytro Ovdiienko<br>e-mail: <a href="mailto:dmitriy.ovdienko@gmail.com">dmitriy.ovdienko@gmail.com</a><br>skype: <a href="mailto:dmitriy.ovdienko@gmail.com">dmitriy.ovdienko@gmail.com</a><br>
mobile: +38050-1909731<br>