forked from Lolliedieb/beamhashverify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
59 lines (57 loc) · 1.63 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
{
"targets": [
{
"target_name": "beamhashverify",
"dependencies": [
],
"sources": [
"support/cleanse.cpp",
"uint256.cpp",
"arith_uint256.cpp",
"random.cpp",
"util.cpp",
"utilstrencodings.cpp",
"crypto/equihashR_impl.cpp",
"crypto/beamHashIII_impl.cpp",
"beam/core/difficulty.cpp",
"beam/core/uintBig.cpp",
"beam/utility/common.cpp",
"crypto/blake/sse/blake2b.cpp",
"beamhashverify.cc"
],
"include_dirs": [
"<!(node -e \"require('nan')\")",
".",
"/usr/include",
"/usr/include/boost",
],
"libararies": [
"/usr/lib/x86_64-linux-gnu"
],
"defines": [
"HAVE_DECL_STRNLEN=1",
"HAVE_BYTESWAP_H=1"
],
"cflags_cc": [
"-std=c++11",
"-Wl,--whole-archive",
"-fPIC",
"-fexceptions"
],
"link_settings": {
"libraries": [
"-Wl,-rpath,./build/Release/",
"-lboost_system",
"-lsodium"
]
},
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
}
}]
]
}
]
}