CMake: Use CMake to compile C++ and eventually include dependencies