CMakeLists.linux-x86_64.txt 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # This file was generated by the build system used internally in the Yandex monorepo.
  2. # Only simple modifications are allowed (adding source-files to targets, adding simple properties
  3. # like target_include_directories). These modifications will be ported to original
  4. # ya.make files by maintainers. Any complex modifications which can't be ported back to the
  5. # original buildsystem will not be accepted.
  6. add_library(libs-apache-avro)
  7. target_compile_options(libs-apache-avro PRIVATE
  8. -DAVRO_SOURCE
  9. -DAVRO_VERSION="1.11.3"
  10. -DSNAPPY_CODEC_AVAILABLE
  11. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  12. )
  13. target_include_directories(libs-apache-avro PRIVATE
  14. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api
  15. )
  16. target_link_libraries(libs-apache-avro PUBLIC
  17. contrib-libs-linux-headers
  18. contrib-libs-cxxsupp
  19. contrib-libs-snappy
  20. restricted-boost-any
  21. restricted-boost-asio
  22. restricted-boost-crc
  23. restricted-boost-format
  24. restricted-boost-iostreams
  25. restricted-boost-math
  26. )
  27. target_sources(libs-apache-avro PRIVATE
  28. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryDecoder.cc
  29. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryEncoder.cc
  30. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Compiler.cc
  31. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/CustomAttributes.cc
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/DataFile.cc
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/FileStream.cc
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Generic.cc
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/GenericDatum.cc
  36. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/LogicalType.cc
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Node.cc
  38. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/NodeImpl.cc
  39. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Resolver.cc
  40. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ResolverSchema.cc
  41. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Schema.cc
  42. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Stream.cc
  43. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Types.cc
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ValidSchema.cc
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Validator.cc
  46. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Zigzag.cc
  47. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonDom.cc
  48. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonIO.cc
  49. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/JsonCodec.cc
  50. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ResolvingDecoder.cc
  51. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/Symbol.cc
  52. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ValidatingCodec.cc
  53. )