Conditional Includes
As I see it conditional includes are a useful feature that make tests only rebuild when the actual used included source changed.
Also, we actually don't use that feature right now in the metaini/system_test context.
Can we provide some useful automatism e.g.
- COMPILE_DEFINITIONS sets a variable called GRIDTYPE={YASP, UG, ALU}
- we provide a preprocessor variable called INCLUDE_GRIDTYPE_YASP that only includes if GRIDTYPE==YASP?
- of course we have the problem that GRIDTYPE could be e.g. Dune::YaspGrid<2> but maybe its possible to write:
- #include CONDITIONAL GRIDTYPE? - where GRIDTYPE gets replaced