First embryo of the cmake-based build system (not yet working)