blob: 2daf3c5578f48ec7068744e1cbf7fba7922935a7 (
plain) (
blame)
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
|
find_package(ZLIB)
add_library(libs-apache-orc)
target_include_directories(libs-apache-orc PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/include
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/proto
${CMAKE_SOURCE_DIR}/contrib/libs/lz4
${CMAKE_SOURCE_DIR}/contrib/libs/zstd/include
)
target_link_libraries(libs-apache-orc PUBLIC
contrib-libs-cxxsupp
contrib-libs-lz4
contrib-libs-snappy
ZLIB::ZLIB
contrib-libs-zstd
contrib-libs-protobuf
)
target_proto_messages(libs-apache-orc PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/proto/orc_proto.proto
)
target_sources(libs-apache-orc PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Adaptor.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/BloomFilter.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ByteRLE.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ColumnPrinter.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ColumnReader.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ColumnWriter.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Common.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Compression.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Exceptions.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Int128.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/LzoDecompressor.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/MemoryPool.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Murmur3.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/OrcFile.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RLE.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RLEV2Util.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RLEv1.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Reader.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RleDecoderV2.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RleEncoderV2.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Statistics.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/StripeStream.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Timezone.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/TypeImpl.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Vector.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Writer.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/io/InputStream.cc
${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/io/OutputStream.cc
)
|