[Cbc] CMake version of Cbc

Sumit K. Nath skn123 at gmail.com
Wed Aug 8 04:25:09 EDT 2012


Dear Cbc subscribers
I have started a project at http://code.google.com/p/cmake-coin/ that will
leverage CMake to build Cbc (among other COIN-OR projects) across
platforms.

May I request you to please take a look at it and try it out? The project
currently is tailor made for Windows platforms. I need some help in making
it compatible with other platforms, primarily Linux. Please take a look at
the wiki page in the project as to how to go about building the libraries.
Currently, the project does not build any third party dependencies. In
addition, the project build has been tested on Visual Studio 10 and MinGw
(gcc 4.7.0).

During the build, I found a couple of things that I want to share with
members here:
a.) I am unable to build shared libraries for sub-projects. Is there a
mechanism for doing this? Maybe I am missing out some defines.
b.) How is LAPACK used in the library?
c.) I ma accumulated all pre-processor defines using MSys. However, Cygwin
has been left out as I do not have Cygwin. Please share your findings on
this as well.
d.) A few examples in the Cbc/examples do not work. They are driver3.cpp
and driver4.cpp. In addition, CbcSolverLongThin.cpp has an include
"//#include "CbcHeuristicUser.hpp"" that is not available in the current
SVN. Hence, I had to comment out this file.
f.) Once the library is installed, other projects can also call it from
CMake. An example for doing this can be found in the ExternalTest folder of
the cmake-coin project.

Feedback of any kind is welcome.
Best regards
Sumit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20120808/b9497565/attachment.html>


More information about the Cbc mailing list