mirror of
https://github.com/status-im/c-kzg-4844.git
synced 2025-01-24 17:08:59 +00:00
2642595e39
* refactor(node-bindings): create src/lib/test folders * feat(node-bindings): update bundle/publish commands * refactor(node-bindings): remove unused files and dependencies * refactor(node-bindings): move fixtures to __fixtures__ * fix(node-bindings): revert format of fixture json file * fix(node-bindings): prettierignore and gitignore * feat(node-bindings): add bindings package * fix(node-bindings): fix test setup path * fix(node-bindings): remove post-build copy action in bindings.gyp * fix(node-bindings): package.json keys * Update contributors --------- Co-authored-by: George Kadianakis <desnacked@riseup.net>
29 lines
766 B
Python
29 lines
766 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "kzg",
|
|
"cflags!": ["-fno-exceptions"],
|
|
"cflags_cc!": ["-fno-exceptions"],
|
|
"xcode_settings": {
|
|
"CLANG_CXX_LIBRARY": "libc++",
|
|
"MACOSX_DEPLOYMENT_TARGET": "13.0"
|
|
},
|
|
"defines": [
|
|
"NAPI_DISABLE_CPP_EXCEPTIONS",
|
|
"FIELD_ELEMENTS_PER_BLOB=<!(echo ${FIELD_ELEMENTS_PER_BLOB:-4096})"
|
|
],
|
|
"sources": ["src/kzg.cxx"],
|
|
"include_dirs": [
|
|
"../../inc",
|
|
"../../src",
|
|
"<!@(node -p \"require('node-addon-api').include\")"
|
|
],
|
|
"libraries": [
|
|
"<(module_root_dir)/c_kzg_4844.o",
|
|
"<(module_root_dir)/../../lib/libblst.a"
|
|
],
|
|
"dependencies": ["<!(node -p \"require('node-addon-api').gyp\")"]
|
|
}
|
|
]
|
|
}
|