CMake: remove boilerplate for tests
The CMakeLists.txt under the Tests hierachy` contain large amounts of boilerplate commands. This makes it hard/unclear to modify and would benefit from some well-place macros.
The CMakeLists.txt under the Tests hierachy` contain large amounts of boilerplate commands. This makes it hard/unclear to modify and would benefit from some well-place macros.