-
Notifications
You must be signed in to change notification settings - Fork 2
/
binding.gyp
44 lines (44 loc) · 1.61 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
{
"targets": [
{
"target_name": "cryptian",
"sources": [
"addon/lib/algorithm/threeway.cc",
"addon/lib/algorithm/arcfour.cc",
"addon/lib/algorithm/blowfish.cc",
"addon/lib/algorithm/cast-128.cc",
"addon/lib/algorithm/cast-256.cc",
"addon/lib/algorithm/des.cc",
"addon/lib/algorithm/enigma.cc",
"addon/lib/algorithm/gost.cc",
"addon/lib/algorithm/loki97.cc",
"addon/lib/algorithm/rc2.cc",
"addon/lib/algorithm/rijndael.cc",
"addon/lib/algorithm/safer.cc",
"addon/lib/algorithm/saferplus.cc",
"addon/lib/algorithm/tripledes.cc",
"addon/lib/algorithm/wake.cc",
"addon/lib/algorithm/xtea.cc",
"addon/lib/algorithm/dummy.cc",
"addon/lib/mode/cbc.cc",
"addon/lib/mode/pcbc.cc",
"addon/lib/mode/cfb.cc",
"addon/lib/mode/ctr.cc",
"addon/lib/mode/ecb.cc",
"addon/lib/mode/ncfb.cc",
"addon/lib/mode/nofb.cc",
"addon/lib/mode/ofb.cc",
"addon/src/node/cryptian.cc"
],
"cflags_cc": ["-std=c++17"],
"include_dirs": [
"<!(node -e \"require('nan')\")",
"addon/lib/"
],
"xcode_settings": {
'CLANG_CXX_LANGUAGE_STANDARD': 'c++17',
'CLANG_CXX_LIBRARY': 'libc++'
}
}
]
}