nodeguy/binding.gyp
2019-05-14 20:47:30 +02:00

19 lines
489 B
Python

{
"targets": [{
"target_name": "node_desktop",
"cflags!": ["-fno-exceptions"],
"cflags_cc!": ["-fno-exceptions"],
"sources": [
"src/cpp/main.cpp"
],
'include_dirs': [
"<!@(node -p \"require('node-addon-api').include\")"
],
'libraries': [],
'dependencies': [
"<!(node -p \"require('node-addon-api').gyp\")"
],
'defines': ['NAPI_DISABLE_CPP_EXCEPTIONS']
}]
}