added CMake files to build cluster/wham/src-M