1. Coin3D
  2. dime
  3. Pull requests

Pull requests

#2 Open

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

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update 
hg pull -r default https://bitbucket.org/garaud/dime
  1. Damien Garaud

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)