ya.make 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(BSL-1.0)
  4. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  5. VERSION(1.84.0)
  6. ORIGINAL_SOURCE(https://github.com/boostorg/coroutine/archive/boost-1.84.0.tar.gz)
  7. PEERDIR(
  8. contrib/restricted/boost/assert
  9. contrib/restricted/boost/config
  10. contrib/restricted/boost/context/fcontext_impl
  11. contrib/restricted/boost/core
  12. contrib/restricted/boost/exception
  13. contrib/restricted/boost/move
  14. contrib/restricted/boost/system
  15. contrib/restricted/boost/throw_exception
  16. contrib/restricted/boost/type_traits
  17. contrib/restricted/boost/utility
  18. )
  19. ADDINCL(
  20. GLOBAL contrib/restricted/boost/coroutine/include
  21. )
  22. NO_COMPILER_WARNINGS()
  23. NO_UTIL()
  24. CFLAGS(
  25. GLOBAL -DBOOST_COROUTINES_NO_DEPRECATION_WARNING
  26. -DBOOST_COROUTINES_SOURCE
  27. )
  28. IF (DYNAMIC_BOOST)
  29. CFLAGS(
  30. GLOBAL -DBOOST_COROUTINES_DYN_LINK
  31. )
  32. ENDIF()
  33. IF (OS_WINDOWS)
  34. SRCS(
  35. src/windows/stack_traits.cpp
  36. )
  37. ELSE()
  38. SRCS(
  39. src/posix/stack_traits.cpp
  40. )
  41. ENDIF()
  42. SRCS(
  43. src/detail/coroutine_context.cpp
  44. src/exceptions.cpp
  45. )
  46. END()