diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
commit | d32759b7eb812b4a4033cc61e1e98245544b4992 (patch) | |
tree | 22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib/libs/apache/avro | |
parent | 471e9b902d01b70b2d12146772e30528a216ee82 (diff) | |
download | ydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz |
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/libs/apache/avro')
-rw-r--r-- | contrib/libs/apache/avro/CMakeLists.linux.txt | 49 | ||||
-rw-r--r-- | contrib/libs/apache/avro/CMakeLists.txt | 44 |
2 files changed, 52 insertions, 41 deletions
diff --git a/contrib/libs/apache/avro/CMakeLists.linux.txt b/contrib/libs/apache/avro/CMakeLists.linux.txt new file mode 100644 index 0000000000..6f1469fd5e --- /dev/null +++ b/contrib/libs/apache/avro/CMakeLists.linux.txt @@ -0,0 +1,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 +) diff --git a/contrib/libs/apache/avro/CMakeLists.txt b/contrib/libs/apache/avro/CMakeLists.txt index 6f1469fd5e..c031ddb850 100644 --- a/contrib/libs/apache/avro/CMakeLists.txt +++ b/contrib/libs/apache/avro/CMakeLists.txt @@ -6,44 +6,6 @@ # 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 -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() |