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 <jasnell@gmail.com>
PR-URL: #5627
  • Loading branch information
joaocgreis authored and evanlucas committed Mar 14, 2016
1 parent c1e4627 commit a6573fd
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
if "%target%" == "Clean" goto exit

Expand Down

0 comments on commit a6573fd

Please sign in to comment.