- 下载
官网下载链接
2. 安装
双击下载文件
3. 启动CMake
- 单击
How to Install For Command Line Use
- 执行
sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install
- 验证安装
cmake --version
>>cmake version 3.25.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
安装成功!