CMake

An attempt to get CMake working, not sure if it worked.