Cleanup cmake files
All cmake files currently contain a lot of boilerplate code, which is also very old. This leads to hardly debuggable and fixable bugs with modern cmake and for example msvc.
All cmake files currently contain a lot of boilerplate code, which is also very old. This leads to hardly debuggable and fixable bugs with modern cmake and for example msvc.