CMakeLists.darwin-arm64.txt 862 B

1234567891011121314151617181920212223242526272829
  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_executable(flatc)
  7. target_include_directories(flatc PRIVATE
  8. ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/include
  9. )
  10. target_link_libraries(flatc PUBLIC
  11. contrib-libs-cxxsupp
  12. libs-flatbuffers-flatc
  13. )
  14. target_link_options(flatc PRIVATE
  15. -Wl,-platform_version,macos,11.0,11.0
  16. -fPIC
  17. -fPIC
  18. )
  19. target_sources(flatc PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/src/flatc_main.cpp
  21. )
  22. target_allocator(flatc
  23. system_allocator
  24. )
  25. vcs_info(flatc)