CMakeLists.linux-x86_64.txt 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. get_built_tool_path(
  7. TOOL_protoc_bin
  8. TOOL_protoc_dependency
  9. contrib/tools/protoc/bin
  10. protoc
  11. )
  12. get_built_tool_path(
  13. TOOL_cpp_styleguide_bin
  14. TOOL_cpp_styleguide_dependency
  15. contrib/tools/protoc/plugins/cpp_styleguide
  16. cpp_styleguide
  17. )
  18. add_library(libs-apache-orc)
  19. target_compile_options(libs-apache-orc PRIVATE
  20. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  21. )
  22. target_include_directories(libs-apache-orc PUBLIC
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/include
  24. )
  25. target_include_directories(libs-apache-orc PRIVATE
  26. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src
  27. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/proto
  28. ${CMAKE_SOURCE_DIR}/contrib/libs/lz4
  29. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/include
  30. )
  31. target_link_libraries(libs-apache-orc PUBLIC
  32. contrib-libs-linux-headers
  33. contrib-libs-cxxsupp
  34. contrib-libs-lz4
  35. contrib-libs-snappy
  36. contrib-libs-zlib
  37. contrib-libs-zstd
  38. contrib-libs-protobuf
  39. )
  40. target_proto_messages(libs-apache-orc PRIVATE
  41. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/proto/orc_proto.proto
  42. )
  43. target_sources(libs-apache-orc PRIVATE
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Adaptor.cc
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/BloomFilter.cc
  46. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ByteRLE.cc
  47. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ColumnPrinter.cc
  48. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ColumnReader.cc
  49. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ColumnWriter.cc
  50. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Common.cc
  51. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Compression.cc
  52. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Exceptions.cc
  53. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Int128.cc
  54. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/LzoDecompressor.cc
  55. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/MemoryPool.cc
  56. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Murmur3.cc
  57. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/OrcFile.cc
  58. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RLE.cc
  59. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RLEV2Util.cc
  60. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RLEv1.cc
  61. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Reader.cc
  62. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RleDecoderV2.cc
  63. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RleEncoderV2.cc
  64. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Statistics.cc
  65. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/StripeStream.cc
  66. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Timezone.cc
  67. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/TypeImpl.cc
  68. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Vector.cc
  69. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Writer.cc
  70. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/io/InputStream.cc
  71. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/io/OutputStream.cc
  72. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/ExpressionTree.cc
  73. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/Literal.cc
  74. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc
  75. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/SargsApplier.cc
  76. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/SearchArgument.cc
  77. ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/TruthValue.cc
  78. )
  79. target_proto_addincls(libs-apache-orc
  80. ./
  81. ${CMAKE_SOURCE_DIR}/
  82. ${CMAKE_BINARY_DIR}
  83. ${CMAKE_SOURCE_DIR}
  84. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  85. ${CMAKE_BINARY_DIR}
  86. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  87. )
  88. target_proto_outs(libs-apache-orc
  89. --cpp_out=${CMAKE_BINARY_DIR}/
  90. --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
  91. )