[Dune] [#1000] Migrate build system from autotools to CMake

Dune flyspray at dune-project.org
Fri Mar 2 17:59:11 CET 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1000 - Migrate build system from autotools to CMake
User who did this - Sascha Zelzer (sascha)

----------
I completely agree with the last comments. I would also love to be able to stick to CMake for my various projects, even if I would just work on Linux. Cross-platform ability was just the primary thing I personally associated with CMake as it's strongest advantage.

The link above shows the typical CMake way when using a Make file generator. For our project we use a CMake based system dubbed "Superbuild" to build projects (modules) located in different repositories. You get the sources for a "core" project (for example for dune-common, via git/svn/tarball/whatever) and when configuring the project the user is presented with several options which allow enabling different optional "external projects" (dune-grid, dune-fem, etc.). The CMake system would then get those external projects (tarball download/git clone/svn checkout/whatever), configure them appropriately and build them in the right order. This can be set up with a very minimal amount of CMake code and in the case of using a Make file generator, the dependencies are all encoded in the generated make targets.
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1000#comment3240

You are receiving this message
because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list