aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
commitb4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch)
tree6a64ab25a145265287789bceed3f59e953561206 /library/cpp/coroutine
parent5e837a820d5be0671fa4096a1cc1e378453e5132 (diff)
downloadydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'library/cpp/coroutine')
-rw-r--r--library/cpp/coroutine/engine/CMakeLists.txt33
-rw-r--r--library/cpp/coroutine/listener/CMakeLists.txt9
2 files changed, 42 insertions, 0 deletions
diff --git a/library/cpp/coroutine/engine/CMakeLists.txt b/library/cpp/coroutine/engine/CMakeLists.txt
new file mode 100644
index 0000000000..3fc34e6011
--- /dev/null
+++ b/library/cpp/coroutine/engine/CMakeLists.txt
@@ -0,0 +1,33 @@
+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
+)
+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
+)
diff --git a/library/cpp/coroutine/listener/CMakeLists.txt b/library/cpp/coroutine/listener/CMakeLists.txt
new file mode 100644
index 0000000000..cb9776982e
--- /dev/null
+++ b/library/cpp/coroutine/listener/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_library(cpp-coroutine-listener)
+target_link_libraries(cpp-coroutine-listener PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-coroutine-engine
+)
+target_sources(cpp-coroutine-listener PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/listener/listen.cpp
+)