CMakeLists.darwin-arm64.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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-thread)
  7. target_compile_options(restricted-boost-thread PUBLIC
  8. -DBOOST_THREAD_USE_LIB
  9. -DBOOST_THREAD_POSIX
  10. )
  11. target_compile_options(restricted-boost-thread PRIVATE
  12. -DBOOST_THREAD_BUILD_LIB
  13. -DBOOST_THREAD_DONT_USE_CHRONO
  14. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  15. )
  16. target_include_directories(restricted-boost-thread PUBLIC
  17. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/include
  18. )
  19. target_link_libraries(restricted-boost-thread PUBLIC
  20. contrib-libs-cxxsupp
  21. restricted-boost-assert
  22. restricted-boost-atomic
  23. restricted-boost-bind
  24. restricted-boost-chrono
  25. restricted-boost-concept_check
  26. restricted-boost-config
  27. restricted-boost-container
  28. restricted-boost-container_hash
  29. restricted-boost-core
  30. restricted-boost-date_time
  31. restricted-boost-exception
  32. restricted-boost-function
  33. restricted-boost-io
  34. restricted-boost-move
  35. restricted-boost-optional
  36. restricted-boost-predef
  37. restricted-boost-preprocessor
  38. restricted-boost-smart_ptr
  39. restricted-boost-static_assert
  40. restricted-boost-system
  41. restricted-boost-throw_exception
  42. restricted-boost-tuple
  43. restricted-boost-type_traits
  44. restricted-boost-utility
  45. restricted-boost-winapi
  46. )
  47. target_sources(restricted-boost-thread PRIVATE
  48. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/src/future.cpp
  49. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/src/pthread/once.cpp
  50. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/src/pthread/thread.cpp
  51. )