generated from blinkhash/foundation-v2-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbinding.gyp
76 lines (76 loc) · 3.39 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
65
66
67
68
69
70
71
72
73
74
75
76
{
"targets": [
{
"target_name": "hashing",
"sources": [
"hashing.cc",
"algorithms/ghostrider/ghostrider.c",
"algorithms/ghostrider/utils/aes_helper.c",
"algorithms/ghostrider/utils/extra.c",
"algorithms/ghostrider/utils/gost_streebog.c",
"algorithms/ghostrider/utils/lyra2.c",
"algorithms/ghostrider/utils/sph_blake.c",
"algorithms/ghostrider/utils/sph_bmw.c",
"algorithms/ghostrider/utils/sph_cubehash.c",
"algorithms/ghostrider/utils/sph_echo.c",
"algorithms/ghostrider/utils/sph_fugue.c",
"algorithms/ghostrider/utils/sph_groestl.c",
"algorithms/ghostrider/utils/sph_hamsi.c",
"algorithms/ghostrider/utils/sph_haval.c",
"algorithms/ghostrider/utils/sph_jh.c",
"algorithms/ghostrider/utils/sph_keccak.c",
"algorithms/ghostrider/utils/sph_luffa.c",
"algorithms/ghostrider/utils/sph_shabal.c",
"algorithms/ghostrider/utils/sph_shavite.c",
"algorithms/ghostrider/utils/sph_simd.c",
"algorithms/ghostrider/utils/sph_skein.c",
"algorithms/ghostrider/utils/sph_tiger.c",
"algorithms/ghostrider/utils/sph_whirlpool.c",
"algorithms/ghostrider/utils/sponge.c",
"algorithms/ghostrider/utils/cryptonote/cryptonight_dark_lite.c",
"algorithms/ghostrider/utils/cryptonote/cryptonight_dark.c",
"algorithms/ghostrider/utils/cryptonote/cryptonight_fast.c",
"algorithms/ghostrider/utils/cryptonote/cryptonight_lite.c",
"algorithms/ghostrider/utils/cryptonote/cryptonight_soft_shell.c",
"algorithms/ghostrider/utils/cryptonote/cryptonight_turtle_lite.c",
"algorithms/ghostrider/utils/cryptonote/cryptonight_turtle.c",
"algorithms/ghostrider/utils/cryptonote/cryptonight.c",
"algorithms/ghostrider/utils/crypto/aesb.c",
"algorithms/ghostrider/utils/crypto/c_blake256.c",
"algorithms/ghostrider/utils/crypto/c_groestl.c",
"algorithms/ghostrider/utils/crypto/c_jh.c",
"algorithms/ghostrider/utils/crypto/c_keccak.c",
"algorithms/ghostrider/utils/crypto/c_skein.c",
"algorithms/ghostrider/utils/crypto/hash.c",
"algorithms/ghostrider/utils/crypto/oaes_lib.c",
"algorithms/sha256d/sha256d.c",
"algorithms/sha256d/utils/sph_sha2.c",
],
"include_dirs": [
".",
"<!(node -e \"require('nan')\")",
],
"cflags_cc": [
"-std=c++0x",
"-fPIC",
"-fexceptions"
],
"defines": [
"HAVE_DECL_STRNLEN=1",
"HAVE_BYTESWAP_H=1"
],
"link_settings": {
"libraries": [
"-Wl,-rpath,./build/Release/",
]
},
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
}
}]
]
}
]
}