blob: 1fbc9136af429bbe9b88cea71b672999a75d9dd8 (
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
|
# This file was generated 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.3"
-DSNAPPY_CODEC_AVAILABLE
$<IF:$<CXX_COMPILER_ID:MSVC>,,-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/CustomAttributes.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
)
|