transition to CMake