Install CMake

Installation of Visual Studio 2022 Community with CMake support

If you forgot to set the "C++ CMake tools for Windows" flag above you can make it later

The first "Hello, World" using VS 2022 and CMake

Debugging in VS 2022