Migration towards CMake (INCOMPLETE, DO NOT MERGE YET)

Having this here so that we can discuss the right way to go forward with all of our targets and whatnot.