48 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-11-01 12:56:26 -07:00
{
2022-11-03 15:13:49 -07:00
"targets": [
2022-11-01 12:56:26 -07:00
{
2022-11-03 15:13:49 -07:00
"target_name": "kzg",
2023-03-28 11:01:07 -05:00
"sources": [
"src/kzg.cxx",
"deps/blst/src/server.c",
"deps/c-kzg/c_kzg_4844.c"
],
2022-11-03 15:13:49 -07:00
"include_dirs": [
2023-03-28 11:01:07 -05:00
"<(module_root_dir)/deps/blst/bindings",
"<(module_root_dir)/deps/c-kzg",
2022-11-03 15:13:49 -07:00
"<!@(node -p \"require('node-addon-api').include\")"
2022-11-01 12:56:26 -07:00
],
"defines": [
"__BLST_PORTABLE__",
"NAPI_DISABLE_CPP_EXCEPTIONS"
],
2023-03-28 11:01:07 -05:00
"conditions": [
["OS!='win'", {
"sources": ["deps/blst/build/assembly.S"],
"cflags_cc": [
"-std=c++17",
"-fPIC"
]
}],
["OS=='win'", {
"sources": ["deps/blst/build/win64/*-x86_64.asm"],
"defines": [
"_CRT_SECURE_NO_WARNINGS",
],
"msbuild_settings": {
"ClCompile": {
"AdditionalOptions": ["/std:c++17"]
}
}
}],
["OS=='mac'", {
"xcode_settings": {
"CLANG_CXX_LIBRARY": "libc++",
"MACOSX_DEPLOYMENT_TARGET": "13.0"
}
}]
]
2022-11-02 13:27:00 -07:00
}
2022-11-01 12:56:26 -07:00
]
}