[Dune] Dune and CMake

Andreas Lauser andreas.lauser at iws.uni-stuttgart.de
Tue Feb 16 19:51:22 CET 2010


Hi Dune,

I'm not really familliar with the internals of dunecontrol, but I guess that 
generating a CMake based module would be mostly "search and replace". (This 
assumes that dependency tree generation is done inside dunecontrol and does 
not rely on any autotools specific stuff.)

The real problem is to implement the CMake modules required for DUNE modules 
properly and to  write the CMakeFiles. (I especially don't have experience on 
how to build the documentation using CMake, but I guess this is doable.) 

It is true that I wanted (and still want) to provide a patch for dune-common 
and dune-grid, but it is not very high on my priority list and at the moment 
I'm quite short on time, so I cannot promise when I will be done.

Kind Regards
  Andreas

Am Montag, 15. Februar 2010 18:58:16 schrieb Oliver Sander:
> Hi!
> I have been wanting to ask the following concerning cmake
> for quite a while.  My question goes both the people in Stuttgart
> and to the maintainers of the Dune build system.  Is it possible
> _without being very invasive_, to extend the duneproject script
> to create on demand either an AutoTools build system or a
> cmake build system in the new module?  I know this would involve
> modifying dunecontrol so as to also build Dune modules
> with a cmake build system.  To make things easier one could
> say that cmake modules cannot be depended upon.
> I think it would be interesting to have such a mechanism
> (again, I stress: if it is not too invasive), because it would give
> the users more choice and allow us to try out cmake and
> evaluate it.

-- 
Andreas Lauser
Lehrstuhl für Hydromechanik und Hydrosystemmodellierung
Universität Stuttgart - Institut für Wasserbau
Pfaffenwaldring 61
D-70569 Stuttgart
Tel: (+49) 0711/ 685-64719
Fax: (+49) 0711/ 685-60430
e-mail: andreas.lauser at iws.uni-stuttgart.de




More information about the Dune mailing list