Clean CMake
We have a .cmake-format.yaml file in our project, but the rules are not fulfilled. Therefore I want to clean the cmake files and also do some refactorings in cmake - including adding two new targets: project_options and project_warnings to modernize the structure.
I already did some improvements with !264 (closed), but this is outdated and probably too many changes at once.
Edited by Sören Peters