-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbinding.gyp
34 lines (32 loc) · 933 Bytes
/
binding.gyp
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
{
"targets": [{
"target_name": "JSONSki",
"cflags!": [ "-fno-exceptions" ],
"cflags_cc!": [ "-fno-exceptions" ],
"sources": [
"src/bindings.cpp",
"main.cpp",
"src/RecordLoader.cpp",
"src/QueryProcessor.cpp",
"src/JSONPathParser.cpp"
],
"cflags": [
# Here all your CFLAGS
],
"cflags_cc": [
# Here all your C ++ FLAGS
],
"xcode_settings": {
"OTHER_CFLAGS": ["-O3", "-std=c++11", "-mpclmul", "-lpthread", "-march=native"],
"GCC_ENABLE_CPP_EXCEPTIONS": "YES"
},
'include_dirs': [
"<!@(node -p \"require('node-addon-api').include\")"
],
'libraries': [],
'dependencies': [
"<!(node -p \"require('node-addon-api').gyp\")"
],
'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ]
}]
}