This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
forked from sumlnoether/node-cryptonote-util
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbinding.gyp
96 lines (96 loc) · 2.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"targets": [
{
"target_name": "cryptonote",
"sources": [
"src/main.cc",
"src/cryptonote_core/cryptonote_format_utils.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/random.c",
"src/crypto/keccak.c",
"src/common/base58.cpp"
],
"include_dirs": [
"src",
"src/contrib/epee/include",
"src/contrib/variant/include",
"<!(node -e \"require('nan')\")"
],
"cflags!": [
"-fno-exceptions"
],
"cflags_cc!": [
"-fno-exceptions",
"-fno-rtti"
],
"cflags_cc": [
"-std=c++0x",
"-fexceptions",
"-frtti"
],
"conditions": [
[
"OS!='win'",
{
"link_settings": {
"libraries": [
"-lboost_system",
"-lboost_date_time"
]
}
},
"OS=='win'",
{
"include_dirs": [
"<(module_root_dir)/winboost",
"src/platform/msc"
],
"link_settings": {
"libraries": [
"<(module_root_dir)/winboost/libs/*.lib"
]
},
"configurations": {
"Release": {
"msvs_settings": {
"VCCLCompilerTool": {
"RuntimeLibrary": 0,
"Optimization": 3,
"FavorSizeOrSpeed": 1,
"InlineFunctionExpansion": 2,
"WholeProgramOptimization": "true",
"OmitFramePointers": "true",
"EnableFunctionLevelLinking": "true",
"EnableIntrinsicFunctions": "true",
"RuntimeTypeInfo": "false",
"ExceptionHandling": "0",
"AdditionalOptions": [
"/MP /EHsc -D_WIN32_WINNT=0x0501"
]
},
"VCLibrarianTool": {
"AdditionalOptions": [
"/LTCG"
]
},
"VCLinkerTool": {
"LinkTimeCodeGeneration": 1,
"OptimizeReferences": 2,
"EnableCOMDATFolding": 2,
"LinkIncremental": 1,
"AdditionalLibraryDirectories": [
]
}
}
}
}
}
]
]
}
]
}