mirror of
https://github.com/soconnor0919/tree-sitter-compare-output.git
synced 2026-02-04 23:56:33 -05:00
33 lines
657 B
Python
33 lines
657 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "tree_sitter_compare_output_binding",
|
|
"include_dirs": [
|
|
"<!(node -e \"console.log(require('node-addon-api').include)\")",
|
|
"src"
|
|
],
|
|
"sources": [
|
|
"bindings/node/binding.cc",
|
|
"src/parser.c"
|
|
],
|
|
"conditions": [
|
|
["OS!='win'", {
|
|
"cflags_c": [
|
|
"-std=c99",
|
|
]
|
|
}]
|
|
],
|
|
"dependencies": [
|
|
"<!(node -e \"console.log(require('node-addon-api').gyp)\")"
|
|
],
|
|
"cflags": [
|
|
"-Wall",
|
|
"-Wextra"
|
|
],
|
|
"defines": [
|
|
"NAPI_DISABLE_CPP_EXCEPTIONS"
|
|
]
|
|
}
|
|
]
|
|
}
|