2022-11-01 19:56:26 +00:00
|
|
|
{
|
2022-11-03 22:13:49 +00:00
|
|
|
"targets": [
|
2022-11-01 19:56:26 +00:00
|
|
|
{
|
2022-11-03 22:13:49 +00:00
|
|
|
"target_name": "kzg",
|
|
|
|
"cflags!": ["-fno-exceptions"],
|
|
|
|
"cflags_cc!": ["-fno-exceptions"],
|
2022-11-16 23:47:13 +00:00
|
|
|
"xcode_settings": {
|
|
|
|
"CLANG_CXX_LIBRARY": "libc++",
|
|
|
|
"MACOSX_DEPLOYMENT_TARGET": "13.0"
|
|
|
|
},
|
2022-12-13 23:21:40 +00:00
|
|
|
"defines": [
|
|
|
|
"NAPI_DISABLE_CPP_EXCEPTIONS",
|
|
|
|
"FIELD_ELEMENTS_PER_BLOB=<!(echo ${FIELD_ELEMENTS_PER_BLOB:-4096})"
|
|
|
|
],
|
2023-03-09 16:21:28 +00:00
|
|
|
"sources": ["src/kzg.cxx"],
|
2022-11-03 22:13:49 +00:00
|
|
|
"include_dirs": [
|
|
|
|
"../../inc",
|
|
|
|
"../../src",
|
|
|
|
"<!@(node -p \"require('node-addon-api').include\")"
|
2022-11-01 19:56:26 +00:00
|
|
|
],
|
2022-11-03 22:13:49 +00:00
|
|
|
"libraries": [
|
2022-11-08 22:02:38 +00:00
|
|
|
"<(module_root_dir)/c_kzg_4844.o",
|
|
|
|
"<(module_root_dir)/../../lib/libblst.a"
|
2022-11-02 04:39:04 +00:00
|
|
|
],
|
2022-11-16 23:26:05 +00:00
|
|
|
"dependencies": ["<!(node -p \"require('node-addon-api').gyp\")"]
|
2022-11-02 20:27:00 +00:00
|
|
|
}
|
2022-11-01 19:56:26 +00:00
|
|
|
]
|
|
|
|
}
|