[Dune] suggestion for duneproject script

Oleh Krehel oleh.krehel at mathmods.eu
Thu Dec 2 15:57:03 CET 2010


Dear Dune developers,

I was working on integration.cc from dune-grid-howto, which has following
code:

typedef GridSelector :: GridType Grid ;

Now this code will not work on a fresh project created by duneproject,
unless I add the following line to Makefile.am

foo_CPPFLAGS = $(AM_CPPFLAGS) \
    $(DUNEMPICPPFLAGS) \
    $(UG_CPPFLAGS) \
    $(AMIRAMESH_CPPFLAGS) \
    $(ALBERTA_CPPFLAGS) \
    $(ALUGRID_CPPFLAGS) \
    $(GRIDDIM_CPPFLAGS)           <------------------------ I have to add
this line each time
I think it's a good idea to have this line added by default by duneproject.
The fix is simle: just paste $(GRIDDIM_CPPFLAGS)  into line 505 of
duneproject script.

best regards,
Oleh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20101202/f0f55fc3/attachment.htm>


More information about the Dune mailing list