Build googles v8 as shared library on windows?

2020-06-16 02:37发布

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.

标签: build v8 gyp
1条回答
乱世女痞
2楼-- · 2020-06-16 02:53

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
查看更多
登录 后发表回答