Add flags to tests explicitly
Summary
Instead of linking all available external libraries to all test targets, it would be better to just link the those packages that are tested. This MR makes this explicitly, by calling add_dune_xy_flags
for a package xy
instead of add_dune_all_flags
. This MR shows its full potential, once dune-common!1207 is merged, but it does not depend on that.
Edited by Simon Praetorius