| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 @echo off | |
| 2 SETLOCAL | |
| 3 | |
| 4 rem %1 - arch {ia32, x64} | |
| 5 rem %2 - configuration {Release, Debug} | |
| 6 set ARCH=%~1 | |
| 7 set CONFIGURATION=%~2 | |
| 8 | |
| 9 pushd "%~dp0" | |
| 10 | |
| 11 @python msvs_gyp_wrapper.py --depth=build\%ARCH%\v8 -f msvs -I v8.gypi --generat or-output=build\%ARCH%\v8 -G msvs_version=2015 -Dtarget_arch=%ARCH% -Dhost_arch= %ARCH% third_party/v8/src/v8.gyp | |
|
sergei
2017/05/31 12:47:11
I would like to keep 2015 here hardcoded for prese
| |
| 12 | |
| 13 @call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\bin\vcvars32.bat" | |
|
Eric
2017/05/30 17:31:40
This is completely ugly. I'm using VS 2017 ordinar
sergei
2017/05/31 12:47:11
Done. This script actually is not supposed to be m
| |
| 14 | |
| 15 @msbuild /m build/%ARCH%/v8/third_party/v8/src/v8.sln /p:Configuration=%CONFIGUR ATION% /target:v8_snapshot,v8_libplatform,v8_libsampler | |
| 16 | |
| 17 popd | |
| 18 | |
| 19 ENDLOCAL | |
| 20 | |
| 21 exit /b 0 | |
|
Eric
2017/05/30 17:31:40
Why suppress errors? It seems that if there's an
sergei
2017/05/31 12:47:11
Done.
| |
| OLD | NEW |