CMakeLists.linux-x86_64.txt 1.4 KB

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