@@ -63,7 +63,7 @@ set no_cctest=
63
63
set cctest =
64
64
set openssl_no_asm =
65
65
set doc =
66
- set extra_msbuild_args = ^
66
+ set extra_msbuild_args =
67
67
68
68
:next-arg
69
69
if " %1 " == " " goto args-done
@@ -138,8 +138,7 @@ if /i "%1"=="no-cctest" set no_cctest=1&goto arg-ok
138
138
if /i " %1 " == " cctest" set cctest = 1& goto arg-ok
139
139
if /i " %1 " == " openssl-no-asm" set openssl_no_asm = 1& goto arg-ok
140
140
if /i " %1 " == " doc" set doc = 1& goto arg-ok
141
- if /i " %1 " == " binlog" set extra_msbuild_args = %extra_msbuild_args% /binaryLogger:%config% \node.binlog& goto arg-ok
142
- if /i " %1 " == " msbuild_arg" set extra_msbuild_args = %extra_msbuild_args% %2 & goto arg-ok-2
141
+ if /i " %1 " == " binlog" set extra_msbuild_args = /binaryLogger:%config% \node.binlog& goto arg-ok
143
142
144
143
echo Error: invalid command line option `%1 `.
145
144
exit /b 1
@@ -258,6 +257,7 @@ set vcvars_call="%VCINSTALLDIR%\Auxiliary\Build\vcvarsall.bat" %vcvarsall_arg%
258
257
echo calling: %vcvars_call%
259
258
call %vcvars_call%
260
259
if errorlevel 1 goto msbuild-not-found
260
+ if defined DEBUG_HELPER @ ECHO ON
261
261
:found_vs2017
262
262
echo Found MSVS version %VisualStudioVersion%
263
263
set GYP_MSVS_VERSION = 2017
@@ -323,6 +323,7 @@ if "%target%"=="Build" (
323
323
if defined cctest set target = " Build"
324
324
)
325
325
if " %target% " == " rename_node_bin_win" if exist " %config% \cctest.exe" del " %config% \cctest.exe"
326
+ if defined msbuild_args set " extra_msbuild_args = %extra_msbuild_args% %msbuild_args% "
326
327
msbuild node.sln %msbcpu% /t:%target% /p:Configuration=%config% /p:Platform=%msbplatform% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo %extra_msbuild_args%
327
328
if errorlevel 1 (
328
329
if not defined project_generated echo Building Node with reused solution failed. To regenerate project files use " vcbuild projgen"
0 commit comments