DawnLauncher/binding.gyp
2023-07-19 13:48:36 +08:00

15 lines
338 B
Python

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