본문 바로가기

Development/C++

'vsvars32.bat' (VsDevCmd.bat) equivalence of VS2019 and VS2015

https://archive.ph/4CeE6

https://stackoverflow.com/questions/60914509/vs2019-equivalent-of-vs2015s-vsvars32-bat

 

VS2019 equivalent of VS2015's vsvars32.bat

we are on VS2015, but want to migrate on VS2019. We have big build file, inside of it we build 17+ solutions. in the beginning of the build file there is call "%VS140COMNTOOLS%vsvars32.bat" it's

stackoverflow.com

 

 

we are on VS2015, but want to migrate on VS2019. We have big build file, inside of it we build 17+ solutions. in the beginning of the build file there is

call "%VS140COMNTOOLS%vsvars32.bat"

it's targeting

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools

if we open C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools there is no any vsvars32.bat so, what is an equivalent of this VS2015's file for VS2019?

 

 

 

 

“The VsDevCmd.bat file sets the appropriate environment variables to enable command-line builds.”

“ Note Visual Studio 2015 and earlier versions used VSVARS32.bat, not VsDevCmd.bat for the same purpose.”

See more here: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/how-to-set-environment-variables-for-the-visual-studio-command-line.

'Development > C++' 카테고리의 다른 글

포인터 개념  (0) 2022.03.25
std::auto_ptr  (0) 2022.03.17
NetStream (Examples)  (0) 2022.03.16
C/C++ 자료형  (0) 2022.03.16
[C++] _MSC_VER  (0) 2020.12.04