-
Notifications
You must be signed in to change notification settings - Fork 2
/
binding.gyp
43 lines (43 loc) · 1.43 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
{
"targets": [
{
"target_name": "meritminer",
"sources": [ "native/meritminer.cpp" ],
"conditions" : [
['OS=="mac"', {
'link_settings': {
'libraries': [
'/usr/local/lib/libfatmeritminer.a'
]
},
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ]
}],
['OS=="linux"', {
'link_settings': {
'libraries': [
'/usr/local/lib/libfatmeritminer.a'
]
},
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ]
}],
['OS=="win"', {
'link_settings': {
'libraries': [
"C:/libmeritminer/build/libfatmeritminer.lib",
"C:/Boost/lib/libboost_date_time-vc141-mt-s-x64-1_67.lib",
"C:/Boost/lib/libboost_regex-vc141-mt-s-x64-1_67.lib",
"C:/Boost/lib/libboost_system-vc141-mt-s-x64-1_67.lib"
]
},
'include_dirs': [
"C:/libmeritminer/include"
],
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ]
}]
]
}
]
}