-
-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathbinding.gyp
More file actions
22 lines (22 loc) · 555 Bytes
/
binding.gyp
File metadata and controls
22 lines (22 loc) · 555 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"targets": [
{
"target_name": "addon",
"cflags!": [ "-fno-exceptions" ],
"cflags_cc!": [ "-fno-exceptions" ],
"conditions":[
["OS=='win'", {
"sources": [ "lib/windows.cc" ]
}],
["OS=='mac'", {
"sources": [ "lib/macos.mm" ],
"libraries": [ '-framework AppKit', '-framework ApplicationServices' ]
}]
],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")"
],
'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ],
}
]
}