Add two CMake files in order to create the Dime library.

#2 Merged at 137851b
Repository
garaud
Branch
default
Repository
Coin3D
Branch
default
Author
  1. Damien Garaud
Reviewers
Description

Hi there,

I need Dime as a dependency in my project. I'm using CMake to compile my project under different OS (GNU/Linux & Windows). An easy way to add the Dime library to my project is to use CMake with the useful feature 'External Project' (see http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html).

Thus, the first step was to write CMake files for Dime. I wrote just two CMake files, i.e. CMakeLists.txt, in order to create a very simple static Dime library ('.a' under GNU/Linux and '.lib' under Windows).

I tested the compilation under GNU/Linux and Windows. It works ! CMake generates a few Makefiles under GNU/Linux. Under Windows, it generates a Visual Studio solution. Moreover, I can tell you that the compilation under Windows 7 with Visual Studio 2010 works well.

Help yourself if you think that the Dime compilation with CMake is useful.

Cheers, Damien G.

Comments (0)