Permalink
97d7ab1 Oct 30, 2016
@TooTallNate @kjunichi @mcnameej @CKarper @clangen
37 lines (36 sloc) 742 Bytes
{
'targets': [
{
'target_name': 'ffi_bindings',
'sources': [
'src/ffi.cc'
, 'src/callback_info.cc'
, 'src/threaded_callback_invokation.cc'
],
'include_dirs': [
'<!(node -e "require(\'nan\')")'
],
'dependencies': [
'deps/libffi/libffi.gyp:ffi'
],
'conditions': [
['OS=="win"', {
'sources': [
'src/win32-dlfcn.cc'
],
}],
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'OTHER_CFLAGS': [
'-ObjC++'
]
},
'libraries': [
'-lobjc'
],
}]
]
}
]
}