CMakeLists.darwin-arm64.txt 1.3 KB

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_library(restricted-boost-atomic)
  7. target_compile_options(restricted-boost-atomic PRIVATE
  8. -DBOOST_ATOMIC_SOURCE
  9. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  10. )
  11. target_include_directories(restricted-boost-atomic PUBLIC
  12. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/include
  13. )
  14. target_include_directories(restricted-boost-atomic PRIVATE
  15. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src
  16. )
  17. target_link_libraries(restricted-boost-atomic PUBLIC
  18. contrib-libs-cxxsupp
  19. restricted-boost-align
  20. restricted-boost-assert
  21. restricted-boost-config
  22. restricted-boost-predef
  23. restricted-boost-preprocessor
  24. restricted-boost-type_traits
  25. restricted-boost-winapi
  26. )
  27. target_sources(restricted-boost-atomic PRIVATE
  28. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src/find_address_sse2.cpp
  29. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src/lock_pool.cpp
  30. )