aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/apache/avro/CMakeLists.txt
blob: 6f1469fd5e3ffdcb7bbdd7b63b8ab044e6e6e48c (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
# 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.



add_library(libs-apache-avro)
target_compile_options(libs-apache-avro PRIVATE
  -DAVRO_SOURCE
  -DSNAPPY_CODEC_AVAILABLE
)
target_include_directories(libs-apache-avro PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api
)
target_link_libraries(libs-apache-avro PUBLIC
  contrib-libs-cxxsupp
  contrib-libs-snappy
  contrib-restricted-boost
  boost-libs-iostreams
)
target_sources(libs-apache-avro PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryDecoder.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryEncoder.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Compiler.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/DataFile.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/FileStream.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Generic.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/GenericDatum.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/LogicalType.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Node.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/NodeImpl.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Resolver.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ResolverSchema.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Schema.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Stream.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Types.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ValidSchema.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Validator.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Zigzag.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonDom.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonIO.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/JsonCodec.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ResolvingDecoder.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/Symbol.cc
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ValidatingCodec.cc
)