CMakeLists.linux-x86_64.txt 933 B

12345678910111213141516171819202122232425262728293031323334
  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-linux-headers
  12. contrib-libs-cxxsupp
  13. libs-flatbuffers-flatc
  14. )
  15. target_link_options(flatc PRIVATE
  16. -ldl
  17. -lrt
  18. -Wl,--no-as-needed
  19. -fPIC
  20. -fPIC
  21. -lpthread
  22. )
  23. target_sources(flatc PRIVATE
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/src/flatc_main.cpp
  25. )
  26. target_allocator(flatc
  27. cpp-malloc-tcmalloc
  28. libs-tcmalloc-no_percpu_cache
  29. )
  30. vcs_info(flatc)