Question

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.

Was it helpful?

Solution

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top