CMakeLists.linux-aarch64.txt 964 B

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_library(contrib-libs-fmt)
  7. target_compile_options(contrib-libs-fmt PUBLIC
  8. -DFMT_EXPORT
  9. -DFMT_CONSTEVAL=
  10. )
  11. target_compile_options(contrib-libs-fmt PRIVATE
  12. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  13. )
  14. target_include_directories(contrib-libs-fmt PUBLIC
  15. ${CMAKE_SOURCE_DIR}/contrib/libs/fmt/include
  16. )
  17. target_link_libraries(contrib-libs-fmt PUBLIC
  18. contrib-libs-linux-headers
  19. contrib-libs-cxxsupp
  20. )
  21. target_sources(contrib-libs-fmt PRIVATE
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/fmt/src/format.cc
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/fmt/src/os.cc
  24. )