tree-sitter-spl/binding.gyp

31 lines
644 B
Text
Raw Normal View History

2023-05-24 21:48:37 +02:00
{
"targets": [
{
2023-05-25 05:49:04 +02:00
"target_name": "tree_sitter_spl_binding",
2024-09-30 19:04:31 +02:00
"dependencies": [
"<!(node -p \"require('node-addon-api').targets\"):node_addon_api_except",
],
2023-05-24 21:48:37 +02:00
"include_dirs": [
2024-09-30 19:04:31 +02:00
"src",
2023-05-24 21:48:37 +02:00
],
"sources": [
"bindings/node/binding.cc",
"src/parser.c",
2024-09-30 19:04:31 +02: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",
],
}],
2023-05-24 21:48:37 +02:00
],
}
]
}