fix c/vs.bat for Visual Studio 2017 when %USERPROFILE%\Source exists
original commit: 9289177cc07782674c17555a37fd0e769da742ae
This commit is contained in:
parent
6c4c4d0b12
commit
be634ff738
2
c/vs.bat
2
c/vs.bat
|
@ -29,4 +29,6 @@ set INCLUDE=
|
|||
set LIB=
|
||||
set LIBPATH=
|
||||
|
||||
:: Visual Studio 2017's vcvarsall.bat changes the directory to %USERPROFILE%\Source if the directory exists. See https://developercommunity.visualstudio.com/content/problem/26780/vsdevcmdbat-changes-the-current-working-directory.html
|
||||
set VSCMD_START_DIR=%CD%
|
||||
"%BATDIR%\vcvarsall.bat" %1
|
||||
|
|
Loading…
Reference in New Issue
Block a user