Preparation work////////////////////////////////////
The first formula CMake official download Address: https://cmake.org/download/
Problem Description////////////////////////////////
When you use CMake to create a new project in CMD, you will be prompted CMake is not an internal external command
The reason is: there is no valid ADD environment variable
Workaround///////////////////////////////
1. Open the environment variable to view .... Cmake\bin has not been added to the environment variable, if not, the description of the installation is not checked for all user-configured options, this does not affect, find the corresponding installation directory to fill in the line
2. If there is an environment variable, it still cannot be cmake. The first installation requires a reboot to enable CMD recognition, which is so proud
Restart
Restart
Restart
3.2 or not, please uninstall the clean cmake to download the latest edition of the installation
printf ("Happy Programming for Everyone:)");