blob: 864b39f6469d3372fd3565b8cf9cfd7d898a5cf3 (
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
|
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
)
|