-
Notifications
You must be signed in to change notification settings - Fork 10
/
binding.gyp
55 lines (55 loc) · 1.86 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
{
"targets": [
{
"target_name": "hdt",
"sources": [
"lib/hdt.cc",
"lib/HdtDocument.cc",
"<!@(ls -1 deps/libhdt/src/bitsequence/*.cpp)",
"<!@(ls -1 deps/libhdt/src/dictionary/*.cpp)",
"<!@(ls -1 deps/libhdt/src/hdt/*.cpp)",
"<!@(ls -1 deps/libhdt/src/header/*.cpp)",
"<!@(ls -1 deps/libhdt/src/huffman/*.cpp)",
"<!@(ls -1 deps/libhdt/src/libdcs/*.cpp)",
"<!@(ls -1 deps/libhdt/src/libdcs/fmindex/*.cpp)",
"<!@(ls -1 deps/libhdt/src/rdf/*.cpp)",
"<!@(ls -1 deps/libhdt/src/sequence/*.cpp)",
"<!@(ls -1 deps/libhdt/src/triples/*.cpp)",
"<!@(ls -1 deps/libhdt/src/util/*.cpp)",
"<!@(ls -1 deps/libcds/src/static/bitsequence/*.cpp)",
"<!@(ls -1 deps/libcds/src/static/coders/*.cpp)",
"<!@(ls -1 deps/libcds/src/static/mapper/*.cpp)",
"<!@(ls -1 deps/libcds/src/static/sequence/*.cpp)",
],
"sources!": [
"<!@(ls -1 deps/libcds/src/static/sequence/*S.cpp)",
],
"include_dirs": [
"<!(node -e \"require('nan')\")",
"deps/libhdt/include",
"deps/libhdt/src/dictionary/",
"deps/libcds/include",
"deps/libcds/src/static/bitsequence",
"deps/libcds/src/static/coders",
"deps/libcds/src/static/mapper",
"deps/libcds/src/static/permutation",
"deps/libcds/src/static/sequence",
"deps/libcds/src/utils",
],
"defines": [
"HAVE_CDS",
"_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION",
],
"cflags!": [ "-fno-rtti", "-fno-exceptions" ],
"cflags_cc!": [ "-fno-rtti", "-fno-exceptions" ],
"xcode_settings": {
"GCC_ENABLE_CPP_RTTI": "YES",
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"OTHER_CFLAGS": [
"-stdlib=libc++",
"-Wno-register"
],
},
},
],
}