Move include of config.h from source to some header files
- May 31, 2024
-
-
Simon Praetorius authored
-
- May 20, 2024
-
-
Simon Praetorius authored
-
-
Remove includes of config.h from most source files and add a corresponding include of dune-common-config.hh
to some header files
With !1262 (merged) we can remove the include of config.h
in all source files. Instead, we include the public config file dune-common-config.hh
in those header files that depend on some config dependent preprocessor defines. We have already reduced these defines. Now only optional-dependencies that cannot be activated later are included.
config.hh
file to be included (depend on a config variable introduced in a config file) actually are included.