建立谷歌的V8作为Windows的共享库? [英] Build googles v8 as shared library on windows?

查看:336
本文介绍了建立谷歌的V8作为Windows的共享库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能建立Google的V8与石膏共享库上(MSVC 2012)窗口?一切我试图不工作。我已经试过:

Is it possible to build googles v8 as a shared library with gyp on windows (msvc 2012)? Everything I tried doesn't work. What I've tried:

python build\gyp_v8 -Dcomponent=shared_library
python build\gyp_v8 library=shared

第二个给出了一个错误库是未知的。第一个没有任何效果。

The second one gives an error that "library" is unknown. The first one does not have any effect.

推荐答案

这工作在我使用的一个项目:

This works in a project I'm using:

python build\gyp_v8 -Dtarget_arch=ia32 -Dcomponent=shared_library
msbuild /p:Configuration=Release /p:Platform=Win32 tools\gyp\v8.sln

这篇关于建立谷歌的V8作为Windows的共享库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆