-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinding.gyp
More file actions
34 lines (34 loc) · 814 Bytes
/
binding.gyp
File metadata and controls
34 lines (34 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"target_defaults": {
"cflags_cc": [
"-fpermissive",
"-Wno-unused",
"-Wno-conversion-null",
"-Wno-literal-suffix",
"-Wno-parentheses",
"-fexceptions",
"-g",
"-std=c++17"
],
"cflags_cc!": [
"-fno-exceptions",
"-fno-rtti",
"-std=gnu++1y"
],
"include_dirs": [
"<!@(node -p 'require(\"node-addon-api\").include')",
"shell",
]
},
"targets": [
{
"target_name": "asar_addon",
"cflags!": [ "-fno-exceptions" ],
"cflags_cc!": [ "-fno-exceptions" ],
'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS', 'NODE_API_SWALLOW_UNTHROWABLE_EXCEPTIONS' ],
"sources": [
"<!@(find shell -name \"*.cc\")",
],
}
]
}