tree-sitter-d2/binding.gyp

31 lines
643 B
Text
Raw Normal View History

2022-12-04 00:07:26 +03:00
{
"targets": [
{
"target_name": "tree_sitter_d2_binding",
2024-07-12 20:36:24 +03:00
"dependencies": [
"<!(node -p \"require('node-addon-api').targets\"):node_addon_api_except",
],
2022-12-04 00:07:26 +03:00
"include_dirs": [
2024-07-12 20:36:24 +03:00
"src",
2022-12-04 00:07:26 +03:00
],
"sources": [
"bindings/node/binding.cc",
"src/parser.c",
2024-07-12 20:36:24 +03:00
# NOTE: if your language has an external scanner, add it here.
],
"conditions": [
["OS!='win'", {
"cflags_c": [
"-std=c11",
],
}, { # OS == "win"
"cflags_c": [
"/std:c11",
"/utf-8",
],
}],
2022-12-04 00:07:26 +03:00
],
}
]
}