CMakeLists.darwin-arm64.txt 1.1 KB

12345678910111213141516171819202122232425262728
  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_subdirectory(flatc)
  7. add_library(contrib-libs-flatbuffers)
  8. target_compile_options(contrib-libs-flatbuffers PRIVATE
  9. -DFLATBUFFERS_LOCALE_INDEPENDENT=1
  10. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  11. )
  12. target_include_directories(contrib-libs-flatbuffers PRIVATE
  13. ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/include
  14. )
  15. target_link_libraries(contrib-libs-flatbuffers PUBLIC
  16. contrib-libs-cxxsupp
  17. abseil-cpp-absl-base
  18. )
  19. target_sources(contrib-libs-flatbuffers PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/src/idl_gen_text.cpp
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/src/idl_parser.cpp
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/src/reflection.cpp
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/src/util.cpp
  24. )