[Dune] using cmake to build your dune module

Felix Albrecht felix.albrecht at uni-muenster.de
Mon Dec 6 19:08:18 CET 2010


Hi,

On Mon, 2010-12-06 at 18:03 +0100, Sascha Zelzer wrote:
> I am wondering if the set of files is complete, since in CMakeLists.txt, 
> variables like ALL_PKG_CPPFLAGS and DUNEMPICPPFLAGS are used but never 
> defined. 

as far as i know, these variables should not have to be set by the user,
but rather be provided by e.g. dunecontrol.

> Further, the macors HEADERCHECK and ADD_DUNE_EXECUTABLE in 
> DuneUtils.cmake are never called (ADD_DUNE_EXECUTABLE wouldn't work 
> because it depends on cmake/regen_config_header.sh).

DuneUtils.cmake is a collection of macros that could be useful, although
some of them may not be used in my example. I have used HEADERCHECK and
it works.
ADD_DUNE_EXECUTABLE is a leftover which I will remove, you should use
ADD_EXECUTABLE instead. If you have further suggestions, just write me.

Greetings,

Felix

--
----------------------------------------------------------- 
 Felix Albrecht                     Tel.: +49 251 83 35130 
 Institut fuer Numerische und       Fax:  +49 251 83 32729 
 Angewandte Mathematik 
 FB Mathematik und Informatik 
 Universitaet Muenster 
 Orleans-Ring 10                    Room: 212 
 D-48149 Muenster 
 Mail: felix.albrecht at uni-muenster.de 
 WWW:  http://www.uni-muenster.de/math/u/felix.albrecht/ 
-----------------------------------------------------------





More information about the Dune mailing list