Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build googles v8 as shared library on windows?

Tags:

build

v8

gyp

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.

like image 722
The Wavelength Avatar asked Feb 16 '13 23:02

The Wavelength


1 Answers

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
like image 106
BitCortex Avatar answered Sep 23 '22 03:09

BitCortex