adding generic CMakeLists.txt