[Dune] Adding dependencies in cmake

Markus Blatt markus at dr-blatt.de
Tue May 13 17:50:16 CEST 2014


Hi,

On Tue, May 13, 2014 at 03:29:39PM +0200, Carsten Gräser wrote:
> Dear cmake adepts,
> the wiki page says that additional cmake tests of a module dune-foo
> should be added to dune-foo/cmake/modules/DuneFooMacros.cmake
> 
> As I could not find this documented:
> 
> Is it correct that this will be included automatically
> by dune_project from any other dune module depending on dune-foo
> and thus propagate dependencies of dune-foo to such modules
> in contrast to just adding the tests to dune-foo/CMakeLists.txt?

duneproject creates a stub of this file whith an initial warning in it
that tests are not implemented.

The Cmake buildsystem searches for this files and executes it contents
if it is found.

Markus

-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140513/db71051e/attachment.sig>


More information about the Dune mailing list