[Dune-devel] .in-file mechanism with cmake?!

Christoph GrĂ¼ninger christoph.grueninger at iws.uni-stuttgart.de
Wed Jul 15 16:05:44 CEST 2015


Hi Christian,
configure_file is a very general concept. It replaces every ${variable}
or @variable@ by the value of the according variable from the current
scope of your CMake script.

[domain.test2d]
dim = 2
mesh = ${CMAKE_SOURCE_DIR}/src/grids/rectangle.msh
refine = 1

should do the trick.

Bye
Christoph

-- 
A mathematician is a scientist who can figure out anything, except
such simple things as squaring the circle and trisecting an angle.
[Evan Esar (1899-1995), Esar's Comic Dictionary]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20150715/4208f211/attachment.sig>


More information about the Dune-devel mailing list