aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine/CMakeLists.darwin.txt
blob: d709a1e943304d280322feaa903ddbea26b364dc (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
45
46
47
48
49
50
51
52
53
54
55
# 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.


get_built_tool_path(
  TOOL_enum_parser_bin
  TOOL_enum_parser_dependency
  tools/enum_parser/enum_parser
  enum_parser
)
get_built_tool_path(
  TOOL_enum_parser_bin
  TOOL_enum_parser_dependency
  tools/enum_parser/enum_parser
  enum_parser
)

add_library(cpp-coroutine-engine)
target_link_libraries(cpp-coroutine-engine PUBLIC
  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
)