CMakeLists.linux-aarch64.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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-linux-headers
  19. contrib-libs-cxxsupp
  20. restricted-boost-align
  21. restricted-boost-assert
  22. restricted-boost-config
  23. restricted-boost-predef
  24. restricted-boost-preprocessor
  25. restricted-boost-type_traits
  26. restricted-boost-winapi
  27. )
  28. target_sources(restricted-boost-atomic PRIVATE
  29. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src/find_address_sse2.cpp
  30. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src/lock_pool.cpp
  31. )