[Dune] Using absolute path to a mesh file

Aleksejs Fomins aleksejs.fomins at lspr.ch
Wed Nov 26 10:27:28 CET 2014


Hi again,

Yes, I would like to do this the CMake way.

I just found what I was looking for in
/dune-grid/dune/grid/io/file/test/CMakeLists.txt, line 3

Thanks for your replies,
Aleksejs

On 11/26/2014 10:12 AM, Dominic Kempf wrote:
> 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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20141126/a150f851/attachment.sig>


More information about the Dune mailing list