Jenkins Visual Studio x64 prompt (for CMake and Ninja) Jenkins Visual Studio x64 prompt (for CMake and Ninja) jenkins jenkins

Jenkins Visual Studio x64 prompt (for CMake and Ninja)


You need to call vcvarsall.bat x86_amd64 which is located in the VC-subdirectory (and eventually remove parentheses from the PATH):

set path=%path:"=%call "%VS110COMNTOOLS%..\..\VC\vcvarsall.bat" x86_amd64

If you want to run this in a Pipeline script:

bat """set path=%path:\"=%       call "%vs110comntools%..\\..\\VC\\vcvarsall.bat" x86_amd64       ..."""