Small Scale project, 2021Modern CMake Buildsystem for HyperHDG library

Initial problem

HyperHDG is a C++20 library for hybrid Discontinuous Galerkin methods for PDEs on hypergraphs that is currently developed at IWR. The developers consulted the SSC with questions about profiling of their code. It turned out that the library's CMake-based buildsystem shadowed the library's high performance nature.

What we did

We rewrote the CMake build system to comply with the community standards of "Modern CMake", as e.g. described in the references given in the SSC CMake guide. This includes the prominent use of targets to express and communicate build requirements. The necessary changes and CMake paradigms were presented and discussed at a consultation meeting between the SSC and the developers.