[v8-users] Embedding v8 as static library in C++ application.

2015-11-19 Thread Bharat Khatri
I'm trying to use v8 as a static library in a C++ application, and am using d8.gyp as reference. { 'includes': ['../build/toolchain.gypi', '../build/features.gypi'], 'targets': [{ 'target_name': 'd8', 'type': 'executable', 'dependencies': [

Re: [v8-users] Embedding v8 as static library in C++ application.

2015-11-19 Thread Jakob Kummerow
They don't. The 'v8' target defines itself to be a library, either static or shared, depending on build settings. 'dependencies' just encode build order dependencies; GYP simply assumes that whenever an executable depends on a library, it also wants to be linked against that library. On Thu, Nov