How to use cmake to generate Visual Studio .sln and .vcxproj

cmake -B Builds -G 'Visual Studio 17 2022'