CMakeLists.linux-x86_64.txt 1.1 KB

12345678910111213141516171819202122232425262728293031
  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(boost-context-impl_common)
  7. target_compile_options(boost-context-impl_common PRIVATE
  8. -DBOOST_CONTEXT_SOURCE
  9. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  10. )
  11. target_include_directories(boost-context-impl_common PUBLIC
  12. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/include
  13. )
  14. target_link_libraries(boost-context-impl_common PUBLIC
  15. contrib-libs-linux-headers
  16. contrib-libs-cxxsupp
  17. restricted-boost-assert
  18. restricted-boost-config
  19. restricted-boost-core
  20. restricted-boost-mp11
  21. restricted-boost-pool
  22. restricted-boost-predef
  23. restricted-boost-smart_ptr
  24. )
  25. target_sources(boost-context-impl_common PRIVATE
  26. ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/src/posix/stack_traits.cpp
  27. )