Rust-Programming-Cookbook/Chapter08/node-to-rust/node_modules/ffi/binding.gyp

37 wiersze
742 B
Plaintext
Czysty Zwykły widok Historia

2017-07-31 06:59:18 +00:00
{
'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'
],
}]
]
}
]
}