After installation of visual studio 2022 with cmake, how to find the version of cmake used ?
Launch the Native Tools Command Prompt (accessible via the Start Menu). From here you can run:
> cmake --version
cmake version 3.29.5-msvc4
CMake suite maintained and supported by Kitware (kitware.com/cmake).
to determine the version.
However, the version of CMake distributed with Visual Studio has patches from Microsoft. You should either install upstream CMake for use outside of the Native Tools Command Prompt, or just use the Native Tools Command Prompt.