build, win: vcbuild improvements
Adds extra a check for proper Python version. If it is not found, vcbuild
will exit early.
If no VS2017 installation is found, vswhere_usability_wrapper.cmd
would print could not find "vswhere"
. This removes that message, making output look nicer for VS2015 compilation.
Finally, this adds support for DEBUG_HELPER
to vcbuild.bat
. Similar to vswhere_usability_wrapper.cmd
and find_python.cmd
, if DEBUG_HELPER
environment variable is set, echo off
will not be called, making debugging easier.
Fixes: https://github.com/nodejs/node/issues/16864
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
build