That'd be with
set GYP_GENERATORS=msvs

But I'm afraid we dropped official support for this a while back.

Why not build with ninja? E.g. gyp_generator like you specified and then 
build with:
ninja -C out\Release

on x64 platforms might require:
ninja -C out\Release_x64

On Wednesday, September 21, 2016 at 10:56:55 AM UTC+2, Pieter wrote:
>
> Thanks for the reply Jochen,
> How do I specify the msvs gyp generator?
>
> On Wednesday, 21 September 2016 10:54:39 UTC+2, Jochen Eisinger wrote:
>>
>> If you want to build with MSVS, you need the msvs gyp generator. 
>> msvs-ninja only supports browsing the project, not building it
>>
>> On Tue, Sep 20, 2016 at 10:04 AM Pieter <germishu...@gmail.com> wrote:
>>
>>>
>>> I have been struggling for a couple of days to get the correct 
>>> incantations to get a build of v8 working on windows 10 with visual studio 
>>> 2015.
>>>
>>> In short the steps that i've been attempting are as follows
>>>
>>>    - set DEPOT_TOOLS_WIN_TOOLCHAIN=0
>>>    - set GYP_MSVS_VERSION=2015
>>>    - set GYP_GENERATORS=msvs-ninja,ninja
>>>    - Get depot tools from: wget 
>>>    https://storage.googleapis.com/chrome-infra/depot_tools.zip -OutFile 
>>>    depot_tools.zip
>>>    - Expand Archive: Expand-Archive .\depot_tools.zip -dest depot_tools
>>>    - Set the path for depot tools
>>>    - Checkout the v8 source code by running: fetch v8
>>>    - Change directory to /v8 and checkout 5.2: git checkout 
>>>    branch-heads/5.2
>>>    - Run sync so that all the dependencies are up to date with the 
>>>    branch: gclient sync
>>>    - To generate the project files run: third_party/python_26/python.exe 
>>>    build\gyp_v8 -Dtarget_arch=x64
>>>    - To build: : "c:\Program Files (x86)\Microsoft Visual Studio 
>>>    14.0\Common7\IDE\devenv.com" /build Release gypfiles\All.sln
>>>    
>>> I am running into all kinds of issues related with the build and after 
>>> running the last command it ends with
>>>
>>> The first occurrence of the error is 
>>>
>>> 1>  ninja -t msvc -e environment.x64 -- "C:\Program Files 
>>> (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /
>>> showIncludes /FC @obj\third_party\icu\source\i18n\icui18n.collationkeys.
>>> obj.rsp /c..\..\third_party\icu\source\i18n\collationkeys.cpp /Foobj\
>>> third_party\icu\source\i18n\icui18n.collationkeys.obj /Fdobj\third_party
>>> \icu\icui18n.cc.pdb
>>> 1>C:\source\v8build\v8\third_party\icu\source\i18n\collationkeys.cpp : 
>>> fatal 
>>> error C1083: Cannot open compiler generated file: 
>>> 'C:\source\v8build\v8\out\Release_x64\obj\third_party\icu\source\i18n\icui18n.collationkeys.obj'
>>> : Permission denied
>>>
>>> I am not sure why i'm getting a permission denied.
>>>
>>> the build then ends with
>>>
>>> 40>  ninja: build stopped: subcommand failed.
>>> 40>ninja : warning : premature end of file; recovering
>>> 40>C:\source\v8build\v8\test\fuzzer\wasm_fuzzer.vcxproj(334,5): error 
>>> MSB3073: The command "call ninja.exe -C ..\..\out\Release_x64\ 
>>> wasm_fuzzer" exited with code 1.
>>>
>>>  ..\..\out\Release_x64\ wasm_fuzzer" exited with code 1.
>>> ========== Build: 20 succeeded, 21 failed, 0 up-to-date, 0 skipped 
>>> ==========
>>>
>>>
>>> Any help would be much appreciated
>>>
>>> -- 
>>> -- 
>>> v8-users mailing list
>>> v8-u...@googlegroups.com
>>> http://groups.google.com/group/v8-users
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "v8-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to v8-users+u...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to