| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 @echo off | |
| 2 SETLOCAL | |
| 3 | |
| 4 rem %1 - MSBuildBinPath, e.g. c:\Program Files (x86)\MSBuild\14.0\Bin | |
|
Oleksandr
2017/06/03 00:40:13
How about making the first parameter optional and
sergei
2017/06/14 16:05:01
Currently it's not needed because that script is n
| |
| 5 rem %2 - arch {ia32, x64} | |
| 6 rem %3 - configuration {Release, Debug} | |
| 7 set MsBuildBinPath=%~1 | |
| 8 set ARCH=%~2 | |
| 9 set CONFIGURATION=%~3 | |
| 10 | |
| 11 pushd "%~dp0" | |
| 12 | |
| 13 @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 | |
|
Oleksandr
2017/06/03 00:40:13
I have tried building using VS2017, and it works s
sergei
2017/06/14 16:05:01
V8 project files don't require conversion when one
Oleksandr
2017/07/03 21:50:38
Acknowledged.
| |
| 14 | |
| 15 @"%MSBuildBinPath%/msbuild.exe" /m build/%ARCH%/v8/third_party/v8/src/v8.sln /p: Configuration=%CONFIGURATION% /target:v8_snapshot,v8_libplatform,v8_libsampler | |
|
Oleksandr
2017/06/03 00:40:13
It's a lot of building. How about adding /maxcpuco
sergei
2017/06/14 16:05:01
What do you mean under a lot of building? Does /m
Oleksandr
2017/07/03 21:50:38
Looks like I have missed the /m switch in this lin
| |
| 16 | |
| 17 popd | |
| 18 | |
| 19 ENDLOCAL | |
| 20 | |
| 21 exit /b | |
| OLD | NEW |