OLD | NEW |
1 @echo off | 1 @echo off |
2 SETLOCAL | 2 SETLOCAL |
3 | 3 |
4 rem %1 - MSBuildBinPath, e.g. c:\Program Files (x86)\MSBuild\14.0\Bin | 4 rem %1 - MSBuildBinPath, e.g. c:\Program Files (x86)\MSBuild\14.0\Bin |
5 rem %2 - arch {ia32, x64} | 5 rem %2 - arch {ia32, x64} |
6 rem %3 - configuration {Release, Debug} | 6 rem %3 - configuration {Release, Debug} |
7 rem %4 - platform toolset, e.g. v140 | 7 rem %4 - platform toolset, e.g. v140 |
8 set MsBuildBinPath=%~1 | 8 set MsBuildBinPath=%~1 |
9 set ARCH=%~2 | 9 set ARCH=%~2 |
10 set CONFIGURATION=%~3 | 10 set CONFIGURATION=%~3 |
11 set PlatformToolset=%~4 | 11 set PlatformToolset=%~4 |
12 | 12 |
13 pushd "%~dp0" | 13 pushd "%~dp0" |
14 | 14 |
| 15 @python build-v8-patch-v8.gyp.py |
| 16 |
15 @python msvs_gyp_wrapper.py --depth=build\%ARCH%\v8 -f msvs -I build-v8.gypi --g
enerator-output=build\%ARCH%\v8 -G msvs_version=2015 -Dtarget_arch=%ARCH% -Dhost
_arch=%ARCH% third_party/v8/src/v8.gyp | 17 @python msvs_gyp_wrapper.py --depth=build\%ARCH%\v8 -f msvs -I build-v8.gypi --g
enerator-output=build\%ARCH%\v8 -G msvs_version=2015 -Dtarget_arch=%ARCH% -Dhost
_arch=%ARCH% third_party/v8/src/v8.gyp |
16 | 18 |
17 @"%MSBuildBinPath%/msbuild.exe" /m build/%ARCH%/v8/third_party/v8/src/v8.sln /p:
PlatformToolset=%PlatformToolset% /p:Configuration=%CONFIGURATION% /target:v8_sn
apshot,v8_libplatform,v8_libsampler | 19 @"%MSBuildBinPath%/msbuild.exe" /m build/%ARCH%/v8/third_party/v8/src/v8.sln /p:
PlatformToolset=%PlatformToolset% /p:Configuration=%CONFIGURATION% /target:v8_sn
apshot,v8_libplatform,v8_libsampler |
18 | 20 |
19 popd | 21 popd |
20 | 22 |
21 ENDLOCAL | 23 ENDLOCAL |
22 | 24 |
23 exit /b | 25 exit /b |
OLD | NEW |