Skip to content

build: call setlocal in vcbuild.bat

Rodrigo Muino Tomonari requested to merge github/fork/danbev/setlocal into master

Currently the variables set in vcbuild.bat are mostly global and escape/leak out into the calling process. For example, running vcbuild.bat test and then echoing the config variable gives:

vcbuild.bat test
...
echo %config%
Release

After this change the same command give:

vcbuild.bat test
...
echo %config%
%config%
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

build

Merge request reports

Loading