https://gist.github.com/jhalon/5cbaab99dccadbf8e783921358020159
- MSVC v140 - VS 2015 C++ build tools (v14.00)
- MSVC v141 - VS 2017 C++ x64/x86 build tools (v14.16)
- Windows 10 SDK (10.0.17134.0)
- Visual Studio 2017 Community
- Add the vs2017_install User Variable and set it to C:\Program Files (x86)\Microsoft Visual Studio 14.0\
- Add C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64 to the User Path Variable.
Remove the x64.debug
folder and its content from the out
folder.
Download ninja.exe and copy it under C:\dev\depot_tools\
From C:\dev\depot_tools\v8\v8\
run
git checkout 568979f4d891bafec875fab20f608ff9392f4f29
From C:\dev\depot_tools\v8\v8\
run
gclient sync --force
Launch a VS2017 Developer Command Prompt and from it run:
C:\dev\v8\v8>gn gen --ide=vs out\x64.debug
C:\dev\v8\v8>cd out\x64.debug
C:\dev\v8\v8\out\x64.debug>msbuild all.sln
It might take up to one hour, so be patience
If everything went well we should be able to run d8 from the x64 debug folder.
C:\dev\depot_tools\v8\v8>out\x64.debug\d8 --allow-natives-syntax
V8 version 7.1.0 (candidate)
d8>