CMake is just a "build generator"—it needs a compiler to actually create the program.

: During installation, you must select "Add CMake to the system PATH for all users" . This allows you to run cmake from any terminal.

: Click Install . Once finished, you can open any folder containing a CMakeLists.txt file directly in Visual Studio. Method 2: The "Modular" Way (Standalone CMake)