<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi All,</span><br style="font-family:arial,sans-serif;font-size:13px"><div class="gmail_quote" style="font-family:arial,sans-serif;font-size:13px"><div>

<br></div><div>I&#39;ve implemented a <a href="http://www.cmake.org/" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34)">CMake</span></a> build script for CBC and its dependencies (CLP, CGL, etc.). The script is available at <a href="https://github.com/vitaut/cbc/blob/master/CMakeLists.txt">https://github.com/vitaut/cbc/blob/master/CMakeLists.txt</a> . It&#39;s just a single file that has to be placed in the top-level CBC directory for use.</div>

<div><br></div><div>I&#39;ve ported many of the autoconf platform checks to <span style="background-color:rgb(255,255,204)">CMake. </span>Out-of-tree builds and tests are supported. I&#39;ve tested the script on Linux and MacOS X with gcc and on Windows with Visual C++ (both nmake and Visual Studio builds work).</div>

<div><br></div><div style>To avoid duplication, source file names and other information is extracted from Makefile.am and <a href="http://configure.ac">configure.ac</a> files. This makes the script more complicated but will hopefully require less maintenance when used together with autotools. Pure CMake solution would have been much simpler of course.</div>

<div><br></div><div style>This script can be used for generating project files for various IDEs: Eclipse CDT, different versions of Visual C++ (no need to maintain project files for each version!) or Xcode, as well as makefiles.</div>

<div><br></div><div>Hope it might be useful to someone.</div><div><br></div><div>Best regards,</div><div>Victor</div></div></div>