CMakeLists.linux-aarch64.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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-coroutine)
  7. target_compile_options(restricted-boost-coroutine PUBLIC
  8. -DBOOST_COROUTINES_NO_DEPRECATION_WARNING
  9. )
  10. target_compile_options(restricted-boost-coroutine PRIVATE
  11. -DBOOST_COROUTINES_SOURCE
  12. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  13. )
  14. target_include_directories(restricted-boost-coroutine PUBLIC
  15. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/include
  16. )
  17. target_link_libraries(restricted-boost-coroutine PUBLIC
  18. contrib-libs-linux-headers
  19. contrib-libs-cxxsupp
  20. restricted-boost-assert
  21. restricted-boost-config
  22. boost-context-fcontext_impl
  23. restricted-boost-core
  24. restricted-boost-exception
  25. restricted-boost-move
  26. restricted-boost-system
  27. restricted-boost-throw_exception
  28. restricted-boost-type_traits
  29. restricted-boost-utility
  30. )
  31. target_sources(restricted-boost-coroutine PRIVATE
  32. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/src/posix/stack_traits.cpp
  33. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/src/detail/coroutine_context.cpp
  34. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/src/exceptions.cpp
  35. )