aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine/CMakeLists.linux.txt
blob: 7b3580b27f16ad2372caf89c6fcd85e97dff08d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.



add_library(cpp-coroutine-engine)
target_link_libraries(cpp-coroutine-engine PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  tools-enum_parser-enum_serialization_runtime
  contrib-libs-libc_compat
  cpp-containers-intrusive_rb_tree
  cpp-deprecated-atomic
)
target_sources(cpp-coroutine-engine PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/cont_poller.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/helper.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/impl.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/iostatus.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/network.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/sockpool.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_allocator.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_guards.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_storage.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_utils.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/trampoline.cpp
)
generate_enum_serilization(cpp-coroutine-engine
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.h
  INCLUDE_HEADERS
  library/cpp/coroutine/engine/poller.h
)
generate_enum_serilization(cpp-coroutine-engine
  ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_common.h
  INCLUDE_HEADERS
  library/cpp/coroutine/engine/stack/stack_common.h
)