CMake 默认不提供 uninstall 这个 target,想要的话,输入: # xargs rm < install_manifest.txt 对于不修改配置的项目足够了。 manifest.txt 是CMake生成的安装文件列表。