[Dune] using cmake to build your dune module
Oliver Sander
sander at mi.fu-berlin.de
Tue Dec 7 09:46:12 CET 2010
I still think it would be convenient to have duneproject create
dune modules with a cmake build system instead of the AutoTools one.
Maybe there is a volunteer who is willing to attempt a patch?
Anyways, thanks for the text. It provides the dune-developer-
with-no-experience-in-cmake-yet with an idea of what 'switching to
cmake' actually means.
best,
Oliver
Am 06.12.2010 19:08, schrieb Felix Albrecht:
> 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/
> -----------------------------------------------------------
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
--
************************************************************************
* Oliver Sander ** email: sander at mi.fu-berlin.de *
* Freie Universität Berlin ** phone: + 49 (30) 838 75348 *
* Institut für Mathematik ** URL : page.mi.fu-berlin.de/~sander *
* Arnimallee 6 ** -------------------------------------*
* 14195 Berlin, Germany ** Member of MATHEON (www.matheon.de) *
************************************************************************
More information about the Dune
mailing list