Windows installation cmake quick tutorial

1. Download cmake

The direct download speed from the cmake official website is very slow. You can click on the download address to download.

After clicking on the download address, you can see that there are many versions. You can choose a version according to your needs (it is recommended not to choose a version that is too early). I chose version 3.22 here.

For Windows systems, generally choose the file corresponding to x86_64.msi to download.

2. Install cmake

Click the downloaded file to install it. It should be noted that you need to choose to add the cmake path , so that you don't have to manually add the path later, which can save a lot of trouble.

The installation directory is generally the default. Of course, you can also choose other directories according to your own needs.

3. Determine whether the installation is successful

After installing cmake, open the command line and enter cmake --version. If the corresponding version is displayed, the installation is successful.

 

おすすめ

転載: blog.csdn.net/weixin_43354152/article/details/131874044