15 lines
338 B
Plaintext
15 lines
338 B
Plaintext
|
{
|
||
|
"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' ],
|
||
|
}
|
||
|
]
|
||
|
}
|