<div class="gmail_quote">On Sun, Nov 7, 2010 at 8:29 PM, Luigi Calori <span dir="ltr"><<a href="mailto:l.calori@cineca.it">l.calori@cineca.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000"><div class="im">
On 07/11/2010 21.01, Philip Lowman wrote:
<blockquote type="cite">
<div class="gmail_quote">On Fri, Nov 5, 2010 at 12:08 PM, Luigi
Calori <span dir="ltr"><<a href="mailto:l.calori@cineca.it" target="_blank">l.calori@cineca.it</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>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">+1 for FindBoost support to
"CMakeified" version of Boost at "<a href="http://gitorious.org/%7Edenisarnaud/boost/denisarnauds-zeuners-boost-cmake/commits/1.44.0-denis" target="_blank">http://gitorious.org/~denisarnaud/boost/denisarnauds-zeuners-boost-cmake/commits/1.44.0-denis</a>":</blockquote>
</div>
</blockquote>
<div><br>
</div>
<div>Luigi,</div>
<div><br>
</div>
<div>Does the "CMakeified" version of Boost still not produce
build outputs that match bjam by default? I remember when I
looked at it a year or two ago there appeared to be only minor
issues with the library names. I would have hoped that these
issues would have been resolved by now.</div>
</div>
</blockquote></div>
I just tried the build with cmake 2.8.2 under MSVC9 using release
build and static linking:<br>
There seem to be a minor inconsistency: when building Boost with
cmake the static libs do not have the prefix "lib" so boost the
auto-linking fails.<br>
I have resolved by<br>
<br>
1) when building boos, configure with -DLIBPREFIX=lib, <br>
<br>
2) configure the project that search for boost with
-DBoost_USE_STATIC_LIBS=ON <br>
<br>
During the installation step of "cmakefied" boost, Boost.cmake
config files get installed but not sure if FindBoost use it<br>
<br>
I' m not sure if this can be solved in FindBoost, but was just
raising attention on a (for me) much better build system for Boost<br></div></blockquote><div><br></div><div>Luigi,</div><div><br></div><div>Thanks for the additional information. It sounds like a bug in the CMake build system for Boost. On WIN32 (but not CYGWIN) it should create static boost libraries with the lib prefix and shared boost libraries without it to match the long-established Boost/bjam conventions. This allows static & shared libraries to exist alongside each other in the lib folder since otherwise their filenames would collide.</div>
<div><br></div></div>-- <br>Philip Lowman<br>