Browse Source

win,build: support Visual C++ Build Tools 2015

Invoke MSBuild specifying the target platform as generated by Gyp.

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/5627
v0.10
João Reis 9 years ago
parent
commit
905bec29ad
  1. 4
      vcbuild.bat

4
vcbuild.bat

@ -187,7 +187,9 @@ echo Project files generated.
if defined nobuild goto sign if defined nobuild goto sign
@rem Build the sln with msbuild. @rem Build the sln with msbuild.
msbuild node.sln /m /t:%target% /p:Configuration=%config% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo set "msbplatform=Win32"
if "%target_arch%"=="x64" set "msbplatform=x64"
msbuild node.sln /m /t:%target% /p:Configuration=%config% /p:Platform=%msbplatform% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo
if errorlevel 1 goto exit if errorlevel 1 goto exit
:sign :sign

Loading…
Cancel
Save