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

Dune flyspray at dune-project.org
Tue May 8 13:33:18 CEST 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)

----------
First, thanks for the efforts you are putting into the CMake scripts.

Although variable names would look a bit strange, I would vote for using -Ddune-common_DIR=... and find_package(dune-common).

As I understand it, for example the dune-istl module would provide a dune-istl-config.cmake file (which is read via find_package(dune-istl) if dune-istl_DIR is set) and it would also provide the <module-name>_DIR variables for dependent modules (I think it should actually do an explicit find_package(dune-common) etc., or is it doing that already? I didn't test the system yet...).

For the weird variable names like e.g. dune-common_LIBRARIES, they should probably be hidden in some custom CMake macros which would set-up all the required dependencies for a given module, so module writers would not need to reference them directly (although they could).

Just a couple of thoughts...
----------

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

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