gh-BertoldVdb-ZoneDetect/node_js/node_binding/binding.gyp
2018-07-25 18:39:20 +02:00

21 lines
483 B
Python

{
"targets": [
{
"target_name": "zd",
"sources": [
"binding.cpp",
"../../library/zonedetect.c"
],
"include_dirs": [
"<!@(nodejs -p \"require('node-addon-api').include\")",
"../../library/"
],
"dependencies": [
"<!(nodejs -p \"require('node-addon-api').gyp\")"
],
"cflags!": ["-fno-exceptions"],
"cflags_cc!": ["-fno-exceptions"],
"defines": ["NAPI_CPP_EXCEPTIONS"]
}
]
}