-
Notifications
You must be signed in to change notification settings - Fork 11
/
binding.gyp
49 lines (49 loc) · 2.21 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
{
'targets': [
{
'target_name': 'parquet',
'sources': [
'src/parquet_binding.cc',
'src/parquet_reader.cc',
'src/parquet_writer.cc',
],
'include_dirs': [
"deps/parquet-cpp/src",
"build_deps/parquet-cpp/release/include",
"<!(node -e \"require('nan')\")"
],
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
},
'libraries': [
'-w',
'<(module_root_dir)/build_deps/parquet-cpp/release/libparquet.a',
'<(module_root_dir)/build_deps/parquet-cpp/release/libarrow.a',
'<(module_root_dir)/build_deps/parquet-cpp/arrow_ep-prefix/src/arrow_ep-build/snappy_ep/src/snappy_ep-install/lib/libsnappy.a',
'<(module_root_dir)/build_deps/parquet-cpp/arrow_ep-prefix/src/arrow_ep-build/brotli_ep-prefix/src/brotli_ep-build/libbrotlidec.a',
'<(module_root_dir)/build_deps/parquet-cpp/arrow_ep-prefix/src/arrow_ep-build/brotli_ep-prefix/src/brotli_ep-build/libbrotlienc.a',
'<(module_root_dir)/build_deps/parquet-cpp/arrow_ep-prefix/src/arrow_ep-build/brotli_ep-prefix/src/brotli_ep-build/libbrotlicommon.a',
'<(module_root_dir)/build_deps/parquet-cpp/thrift_ep/src/thrift_ep-install/lib/libthrift.a',
'-lboost_regex',
],
},
'OS=="linux"', {
'libraries': [
'<(module_root_dir)/build_deps/parquet-cpp/release/libparquet.a',
'<(module_root_dir)/build_deps/parquet-cpp/release/libarrow.a',
'<(module_root_dir)/build_deps/parquet-cpp/arrow_ep-prefix/src/arrow_ep-build/snappy_ep/src/snappy_ep-install/lib/libsnappy.a',
'<(module_root_dir)/build_deps/parquet-cpp/arrow_ep-prefix/src/arrow_ep-build/brotli_ep-prefix/src/brotli_ep-build/libbrotlidec.a',
'<(module_root_dir)/build_deps/parquet-cpp/arrow_ep-prefix/src/arrow_ep-build/brotli_ep-prefix/src/brotli_ep-build/libbrotlienc.a',
'<(module_root_dir)/build_deps/parquet-cpp/arrow_ep-prefix/src/arrow_ep-build/brotli_ep-prefix/src/brotli_ep-build/libbrotlicommon.a',
'<(module_root_dir)/build_deps/parquet-cpp/thrift_ep/src/thrift_ep-install/lib/libthrift.a',
'-lboost_regex',
],
}]
]
}
]
}