Cmake 在mac上的安裝
cmake 官網:https://cmake.org/
以源碼方式安裝
1. 下載源碼:https://cmake.org/files/v3.9/cmake-3.9.0-rc6.tar.gz (linux,unix,mac平台)
2. 解壓源碼,並在終端進入 源碼目錄
3. 終端 執行
./bootstrap
4. 終端執行
make
5. 終端執行
sudo make install
6. 安裝之后,查看安裝
cmake --version
cmake version 3.9.0-rc6
CMake suite maintained and supported by Kitware (kitware.com/cmake).
參考官方文檔:https://cmake.org/install/