aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/apache/avro/CMakeLists.linux-aarch64.txt
blob: 7d6a284e0566276031fdd9738afdff28f4d038b6 (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
60
61
62
63
64
# 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
  -DAVRO_VERSION="1.11.1"
  -DBOOST_ALL_NO_LIB
  -DBOOST_ATOMIC_DYN_LINK
  -DBOOST_FILESYSTEM_DYN_LINK
  -DBOOST_IOSTREAMS_DYN_LINK
  -DBOOST_PROGRAM_OPTIONS_DYN_LINK
  -DBOOST_REGEX_DYN_LINK
  -DBOOST_SYSTEM_DYN_LINK
  -DSNAPPY_CODEC_AVAILABLE
  -Wno-everything
)
target_include_directories(libs-apache-avro PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api
)
target_link_libraries(libs-apache-avro PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  contrib-libs-snappy
  restricted-boost-any
  restricted-boost-asio
  restricted-boost-crc
  restricted-boost-format
  restricted-boost-iostreams
  restricted-boost-math
)
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/CustomFields.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
)