[Dune] CMake to link an executable

Markus Blatt markus at dr-blatt.de
Wed Jul 29 15:11:51 CEST 2015


On Wed, Jul 29, 2015 at 02:24:09PM +0200, Aleksejs Fomins wrote:
> Dear Dune,
> 
> I am currently testing the performance of integration in our curvilinear code, and for that purpose I need to temporarily integrate an external library into a dummy dune module.
> 
> The library I am trying out is
> http://ab-initio.mit.edu/wiki/index.php/Cubature
> 
> To use this library, one needs to include a corresponding .h file, and to link a corresponding .c file, namely
> 

cmake --help-command target_link_libraries 
and 
cmake --help-command find_library

should help you.

-- 
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/20150729/bf6f1e11/attachment.sig>


More information about the Dune mailing list