Cmake安装

  1. 进入Cmake官网

  2. 根据自己需要选择安装包

  3. 下载后双击安装

  4. 进入安装界面,点击【Next】

  5. 同意协议,点击【Next】

  6. 将Cmake添加进用户变量点击【Next

    注意:
    选择 “Add CMake to the system PATH for all users”(为所有用户的系统路径添加 CMake)
    选择 “Add CMake to the system PATH for the current user”(为当前用户的系统路径添加 CMake)
    Create CMake Desktop Icon 是创建桌面图标

  7. 选择路径,点击【Next】

  8. 开始安装,点击【Install】

  9. 安装完毕,点击【Finish】

  10. 打开cmd窗口,输入命令查看版本

    cmake --version
    


注意: 也可以下载cmake-3.24.2-windows-x86_64压缩包自己添加 cmake\bin 环境路径也是可以的。如下图所示:

posted @ 2022-09-27 11:25  浇筑菜鸟  阅读(1173)  评论(0编辑  收藏  举报