-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbinding.gyp
33 lines (33 loc) · 976 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
{
"targets": [
{
"target_name": "deserializer",
"sources": [ "lib/native/deserializer.cc",
"lib/native/orientc_reader.cpp",
"lib/native/orientc_writer.cpp",
"lib/native/listener.cc",
"lib/native/writer.cc",
"lib/native/helpers.cpp",
"lib/native/parse_exception.cpp" ],
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
}
}],
[ 'OS=="win"', {
'link_settings': {
'libraries': [
'-lws2_32.lib'
],
}
}]
]
}
]
}