[Dune] Using absolute path to a mesh file

Dominic Kempf dominic.r.kempf at gmail.com
Wed Nov 26 10:12:35 CET 2014


Hey Aleksejs,

although you dont mention it, I guess you are asking for the CMake way to
do it.
Adding compile definitions is done via add_definitions. For more info type

cmake --help-command add_definitions

Best,
Dominic

On Wed, Nov 26, 2014 at 9:47 AM, Aleksejs Fomins <aleksejs.fomins at lspr.ch>
wrote:

> Dear Dune,
>
> Now when the tests are built out of source, I feel I should use the
> absolute path to mesh files for testing dune-curvilineargrid, same as it
> is done in dune-grid.
>
> I notice that in dune-grid it is done by using the variable
>
> DUNE_GRID_EXAMPLE_GRIDS_PATH
>
> However, I cannot find where this variable is defined using grep on
> dune-grid. Could you please teach me how to define such a variable?
>
> Regards,
> Aleksejs
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20141126/a2faeabe/attachment.htm>


More information about the Dune mailing list