Skip to content

Commit

Permalink
win,build: support Visual C++ Build Tools 2015
Browse files Browse the repository at this point in the history
Invoke MSBuild specifying the target platform as generated by Gyp.

Reviewed-By: James M Snell <[email protected]>
PR-URL: #5627
  • Loading branch information
joaocgreis committed Mar 11, 2016
1 parent bb29a89 commit 905bec2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vcbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ echo Project files generated.
if defined nobuild goto sign

@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

:sign
Expand Down

0 comments on commit 905bec2

Please sign in to comment.