forked from MoneroOcean/node-cryptoforknote-util
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
41 lines (41 loc) · 1.59 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
{
"targets": [
{
"target_name": "cryptoforknote",
"sources": [
"src/main.cc",
"src/cryptonote_core/cryptonote_format_utils.cpp",
"src/offshore/pricing_record.cpp",
"src/zephyr_oracle/pricing_record.cpp",
"src/crypto/tree-hash.c",
"src/crypto/crypto.cpp",
"src/crypto/crypto-ops.c",
"src/crypto/crypto-ops-data.c",
"src/crypto/hash.c",
"src/crypto/keccak.c",
"src/common/base58.cpp",
],
"include_dirs": [
"src",
"src/contrib/epee/include",
"/usr/local/opt/boost/include",
"<!(node -e \"require('nan')\")",
],
"link_settings": {
"libraries": [
"-lboost_system",
"-lboost_date_time",
]
},
"cflags_c": [
"-fno-exceptions -std=gnu11 -march=native -fPIC -DNDEBUG -Ofast -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2"
],
"cflags_cc": [
"-fexceptions -frtti -std=c++14 -march=native -fPIC -DNDEBUG -Ofast -s -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2"
],
"xcode_settings": {
"OTHER_CFLAGS": [ "-fexceptions -frtti" ]
}
}
]
}