c-kzg-4844/bindings/node.js/binding.gyp

37 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-11-01 19:56:26 +00:00
{
'targets': [
{
2022-11-02 20:21:41 +00:00
'target_name': 'kzg',
"cflags!": [ "-fno-exceptions" ],
"cflags_cc!": [ "-fno-exceptions" ],
2022-11-01 19:56:26 +00:00
'sources': [
2022-11-02 20:21:41 +00:00
'kzg.cxx',
2022-11-01 19:56:26 +00:00
],
2022-11-02 05:22:14 +00:00
'include_dirs': ['../../inc', '../../src', "<!@(node -p \"require('node-addon-api').include\")"],
2022-11-02 04:39:04 +00:00
'libraries': [
2022-11-02 05:22:14 +00:00
'/Users/coffman@coinbase.com/src/c-kzg/bindings/node.js/c_kzg_4844.o',
'/Users/coffman@coinbase.com/src/c-kzg/lib/libblst.a'
2022-11-02 04:39:04 +00:00
],
2022-11-02 05:22:14 +00:00
'dependencies': [
"<!(node -p \"require('node-addon-api').gyp\")"
],
'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ]
2022-11-02 20:21:41 +00:00
},
# {
# 'target_name': 'ckzg-swig',
# "cflags!": [ "-fno-exceptions" ],
# "cflags_cc!": [ "-fno-exceptions" ],
# 'sources': [
# 'ckzg.cxx',
# # SWIG-generated wrapper around ckzg.cxx
# 'ckzg_wrap.cxx',
# ],
# 'include_dirs': ['../../inc', '../../src'],
# 'libraries': [
# '/Users/coffman@coinbase.com/src/c-kzg/bindings/node.js/c_kzg_4844.o',
# '/Users/coffman@coinbase.com/src/c-kzg/lib/libblst.a'
# ],
# }
2022-11-01 19:56:26 +00:00
]
}