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.