-
Notifications
You must be signed in to change notification settings - Fork 2
/
binding.gyp
64 lines (64 loc) · 1.67 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"targets": [{
"target_name": "extension-whitelist",
"type": "static_library",
"sources": [
"extension_whitelist_parser.cc",
"extension_whitelist_parser.h",
"extension_whitelist_data.cc",
"extension_whitelist_data.h",
],
"include_dirs": [
".",
'./node_modules/hashset-cpp'
],
"dependencies": [
"./node_modules/hashset-cpp/binding.gyp:hashset-cpp"
],
"conditions": [
['OS=="win"', {
}, {
'cflags_cc': [ '-fexceptions' ]
}
]
],
"xcode_settings": {
"OTHER_CFLAGS": [ "-ObjC" ],
"OTHER_CPLUSPLUSFLAGS" : ["-std=c++11","-stdlib=libc++", "-v"],
"MACOSX_DEPLOYMENT_TARGET": "10.9",
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
},
},
{
"target_name": "ew_node_addon",
"sources": [
"extension_whitelist_parser.cc",
"extension_whitelist_parser.h",
"extension_whitelist_data.cc",
"extension_whitelist_data.h",
"./node_addon/EWParserWrap.h",
"./node_addon/EWParserWrap.cc",
"./node_addon/addon.cpp",
"./node_modules/hashset-cpp/test/hashFn.cc",
"./node_modules/hashset-cpp/test/hashFn.h"
],
"include_dirs": [
".",
'./node_modules/hashset-cpp'
],
"conditions": [
['OS=="win"', {
}, {
'cflags_cc': [ '-fexceptions' ]
}
]
],
"xcode_settings": {
"OTHER_CFLAGS": [ "-ObjC" ],
"OTHER_CPLUSPLUSFLAGS" : ["-std=c++11","-stdlib=libc++", "-v"],
"OTHER_LDFLAGS": ["-stdlib=libc++"],
"MACOSX_DEPLOYMENT_TARGET": "10.9",
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
},
}],
}