目录
官网:
CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of your choice. The suite of CMake tools were created by Kitware in response to the need for a powerful, cross-platform build environment for open-source projects such as ITK and VTK.
安装依赖
sudo apt install build-essential libssl-dev
tar -zxvf cmake-3.22.1.tar.gz
cd cmake-3.22.1
./configure --prefix=/usr/local
make
sudo make install
命令:
sudo ln -s /usr/local/bin/* /usr/bin/
查看当前版本:
cmake --version
至此,安装完成。
手机扫一扫
移动阅读更方便
你可能感兴趣的文章