aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/apache/orc/CMakeLists.txt
blob: 3a33a28ab8e17ffef340ad7db6d5d23e495ecd22 (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
52
53
54
55
56
57
58
59
# This file was gererated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.


find_package(ZLIB REQUIRED)

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
)