CMAKE_VS_MSBUILD_COMMANDΒΆ

The Visual Studio Generators set this variable to the MSBuild.exe command installed with the corresponding Visual Studio version.

This variable is not defined by other generators even if MSBuild.exe is installed on the computer.

See also the CMAKE_VS_DEVENV_COMMAND and CMAKE_MAKE_PROGRAM variables.