1.下载二进制文件
CMake官网下载:https://cmake.org/download/#latest
https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-windows-x86_64.zip
2.配置环境变量
- PATH 追加 bin目录 ->
D:\Developer\CMake\bin
[自行更改]
3.验证
cmake --version
CMake官网下载:https://cmake.org/download/#latest
https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-windows-x86_64.zip
D:\Developer\CMake\bin
[自行更改]cmake --version