Index: build-v8.cmd |
diff --git a/build-v8.cmd b/build-v8.cmd |
new file mode 100644 |
index 0000000000000000000000000000000000000000..63c45f3d1dd41ee0c02c7c123aebe43d4912a191 |
--- /dev/null |
+++ b/build-v8.cmd |
@@ -0,0 +1,21 @@ |
+@echo off |
+SETLOCAL |
+ |
+rem %1 - arch {ia32, x64} |
+rem %2 - configuration {Release, Debug} |
+set ARCH=%~1 |
+set CONFIGURATION=%~2 |
+ |
+pushd "%~dp0" |
+ |
+@python msvs_gyp_wrapper.py --depth=build\%ARCH%\v8 -f msvs -I v8.gypi --generator-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
|
+ |
+@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
|
+ |
+@msbuild /m build/%ARCH%/v8/third_party/v8/src/v8.sln /p:Configuration=%CONFIGURATION% /target:v8_snapshot,v8_libplatform,v8_libsampler |
+ |
+popd |
+ |
+ENDLOCAL |
+ |
+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.
|