update CMake, add msg,