[Dune] dune-alugrid / dune-grid

Christoph Grüninger christoph.grueninger at iws.uni-stuttgart.de
Wed Apr 6 22:23:23 CEST 2016


Hi Martin,
I don't get why you just use the build-system as we designed
it. Is there a problem, maybe we should fix it?

> I think cmake has some special find_package mode where it 
>provides the build settings. (I think I have used it a year 
>ago and its called config mode. But im not sure and I'm not 
>very familiar with it).
> In those files stuff like:
>     add_definition(ENABLE_FOOBAR)
>     set(CXX_COMPILER ...)
>     include_directories(...)
> could be incorporated. Basically it holds the upstream build 
>configuration which is required to be reused in derived 
>projects. If such a cmake build configuration is provided by 
>the dune modules, i can just incorporate these config files 
>in my own CMakeLists file and completely drop the config.h.

Well, we provide such files and we evalue them in every dune
module.
What's wrong with the config.h? One is generated for each
module, and entries from dependencies are included in
the module request the dependence.

> At the moment i just include the config.h from dune-alugrid 
>in all my .cpp files, which is not very satisfying :-/ BUT: 
>it works o.0

Have generate your own module with duneproject (from 
dune-common/bin)
at all?

Bye
Christoph, maybe confused

-- 
Je n'ai rien contre les étrangers, quelques uns de mes 
meilleurs amis
sont des étrangers. Mais ces étrangers là ne sont pas de chez 
nous!
[Agecanonix, Astérix - Le cadeau de César]




More information about the Dune mailing list