Download and run Microsoft C++ Build Tools 2022.
Ensure the following components are installed from the Main Menu.
- Visual C++ build tools
- MSVC compiler
- C++ CMake tools for Windows
- C++ Clang tools for Windows
- Windows 10 or 11 SDK
cmake --preset msvc-configure
cmake --build --preset msvc-build