aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
commit0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch)
tree4d8a246db168f7beaafcd06d486c034115c2123d /library/cpp/messagebus
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/messagebus')
-rw-r--r--library/cpp/messagebus/CMakeLists.darwin.txt71
-rw-r--r--library/cpp/messagebus/CMakeLists.linux-aarch64.txt72
-rw-r--r--library/cpp/messagebus/CMakeLists.linux.txt72
-rw-r--r--library/cpp/messagebus/CMakeLists.txt70
-rw-r--r--library/cpp/messagebus/actor/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/messagebus/actor/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/messagebus/actor/CMakeLists.linux.txt21
-rw-r--r--library/cpp/messagebus/actor/CMakeLists.txt19
-rw-r--r--library/cpp/messagebus/config/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/messagebus/config/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/messagebus/config/CMakeLists.linux.txt21
-rw-r--r--library/cpp/messagebus/config/CMakeLists.txt19
-rw-r--r--library/cpp/messagebus/monitoring/CMakeLists.darwin.txt32
-rw-r--r--library/cpp/messagebus/monitoring/CMakeLists.linux-aarch64.txt33
-rw-r--r--library/cpp/messagebus/monitoring/CMakeLists.linux.txt33
-rw-r--r--library/cpp/messagebus/monitoring/CMakeLists.txt31
-rw-r--r--library/cpp/messagebus/oldmodule/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/messagebus/oldmodule/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/messagebus/oldmodule/CMakeLists.linux.txt21
-rw-r--r--library/cpp/messagebus/oldmodule/CMakeLists.txt19
-rw-r--r--library/cpp/messagebus/protobuf/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/messagebus/protobuf/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/messagebus/protobuf/CMakeLists.linux.txt21
-rw-r--r--library/cpp/messagebus/protobuf/CMakeLists.txt19
-rw-r--r--library/cpp/messagebus/scheduler/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/messagebus/scheduler/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/messagebus/scheduler/CMakeLists.linux.txt20
-rw-r--r--library/cpp/messagebus/scheduler/CMakeLists.txt18
-rw-r--r--library/cpp/messagebus/www/CMakeLists.darwin.txt56
-rw-r--r--library/cpp/messagebus/www/CMakeLists.linux-aarch64.txt58
-rw-r--r--library/cpp/messagebus/www/CMakeLists.linux.txt58
-rw-r--r--library/cpp/messagebus/www/CMakeLists.txt55
32 files changed, 848 insertions, 194 deletions
diff --git a/library/cpp/messagebus/CMakeLists.darwin.txt b/library/cpp/messagebus/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..9f0f8baf67
--- /dev/null
+++ b/library/cpp/messagebus/CMakeLists.darwin.txt
@@ -0,0 +1,71 @@
+
+# This file was gererated 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_subdirectory(actor)
+add_subdirectory(config)
+add_subdirectory(monitoring)
+add_subdirectory(oldmodule)
+add_subdirectory(protobuf)
+add_subdirectory(scheduler)
+add_subdirectory(www)
+
+add_library(library-cpp-messagebus)
+target_link_libraries(library-cpp-messagebus PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-sparsehash
+ library-cpp-codecs
+ cpp-deprecated-enum_codegen
+ cpp-getopt-small
+ library-cpp-lwtrace
+ messagebus_actor
+ cpp-messagebus-config
+ cpp-messagebus-monitoring
+ cpp-messagebus-scheduler
+ cpp-string_utils-indent_text
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-messagebus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/coreconn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/duration_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/event_loop.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/futex_like.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/handler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/key_value_printer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/local_flags.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/locator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/mb_lwtrace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/messqueue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/queue_config.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_job_count.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/shutdown_state.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/socket_addr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/storage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/synchandler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_after_free_checker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_count_checker.cpp
+)
diff --git a/library/cpp/messagebus/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..87688f2f50
--- /dev/null
+++ b/library/cpp/messagebus/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,72 @@
+
+# This file was gererated 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_subdirectory(actor)
+add_subdirectory(config)
+add_subdirectory(monitoring)
+add_subdirectory(oldmodule)
+add_subdirectory(protobuf)
+add_subdirectory(scheduler)
+add_subdirectory(www)
+
+add_library(library-cpp-messagebus)
+target_link_libraries(library-cpp-messagebus PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-sparsehash
+ library-cpp-codecs
+ cpp-deprecated-enum_codegen
+ cpp-getopt-small
+ library-cpp-lwtrace
+ messagebus_actor
+ cpp-messagebus-config
+ cpp-messagebus-monitoring
+ cpp-messagebus-scheduler
+ cpp-string_utils-indent_text
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-messagebus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/coreconn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/duration_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/event_loop.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/futex_like.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/handler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/key_value_printer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/local_flags.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/locator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/mb_lwtrace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/messqueue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/queue_config.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_job_count.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/shutdown_state.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/socket_addr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/storage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/synchandler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_after_free_checker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_count_checker.cpp
+)
diff --git a/library/cpp/messagebus/CMakeLists.linux.txt b/library/cpp/messagebus/CMakeLists.linux.txt
new file mode 100644
index 0000000000..87688f2f50
--- /dev/null
+++ b/library/cpp/messagebus/CMakeLists.linux.txt
@@ -0,0 +1,72 @@
+
+# This file was gererated 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_subdirectory(actor)
+add_subdirectory(config)
+add_subdirectory(monitoring)
+add_subdirectory(oldmodule)
+add_subdirectory(protobuf)
+add_subdirectory(scheduler)
+add_subdirectory(www)
+
+add_library(library-cpp-messagebus)
+target_link_libraries(library-cpp-messagebus PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-sparsehash
+ library-cpp-codecs
+ cpp-deprecated-enum_codegen
+ cpp-getopt-small
+ library-cpp-lwtrace
+ messagebus_actor
+ cpp-messagebus-config
+ cpp-messagebus-monitoring
+ cpp-messagebus-scheduler
+ cpp-string_utils-indent_text
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-messagebus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/coreconn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/duration_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/event_loop.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/futex_like.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/handler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/key_value_printer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/local_flags.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/locator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/mb_lwtrace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/messqueue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/queue_config.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_job_count.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/shutdown_state.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/socket_addr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/storage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/synchandler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_after_free_checker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_count_checker.cpp
+)
diff --git a/library/cpp/messagebus/CMakeLists.txt b/library/cpp/messagebus/CMakeLists.txt
index 9f0f8baf67..3e0811fb22 100644
--- a/library/cpp/messagebus/CMakeLists.txt
+++ b/library/cpp/messagebus/CMakeLists.txt
@@ -6,66 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(actor)
-add_subdirectory(config)
-add_subdirectory(monitoring)
-add_subdirectory(oldmodule)
-add_subdirectory(protobuf)
-add_subdirectory(scheduler)
-add_subdirectory(www)
-
-add_library(library-cpp-messagebus)
-target_link_libraries(library-cpp-messagebus PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-sparsehash
- library-cpp-codecs
- cpp-deprecated-enum_codegen
- cpp-getopt-small
- library-cpp-lwtrace
- messagebus_actor
- cpp-messagebus-config
- cpp-messagebus-monitoring
- cpp-messagebus-scheduler
- cpp-string_utils-indent_text
- cpp-threading-future
- cpp-deprecated-atomic
-)
-target_sources(library-cpp-messagebus PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor_status.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/connection.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/coreconn.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/duration_histogram.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/event_loop.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/futex_like.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/handler.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/key_value_printer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/local_flags.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/locator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/mb_lwtrace.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_counter.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status_counter.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/messqueue.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/network.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/queue_config.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_connection.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session_semaphore.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection_status.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_connection.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session_semaphore.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_impl.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_job_count.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/shutdown_state.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/socket_addr.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/storage.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/synchandler.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_after_free_checker.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_count_checker.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/messagebus/actor/CMakeLists.darwin.txt b/library/cpp/messagebus/actor/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..defce0ef7b
--- /dev/null
+++ b/library/cpp/messagebus/actor/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# This file was gererated 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(messagebus_actor)
+target_link_libraries(messagebus_actor PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(messagebus_actor PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/executor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/thread_extra.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/what_thread_does.cpp
+)
diff --git a/library/cpp/messagebus/actor/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/actor/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ee628ebbfd
--- /dev/null
+++ b/library/cpp/messagebus/actor/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated 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(messagebus_actor)
+target_link_libraries(messagebus_actor PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(messagebus_actor PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/executor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/thread_extra.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/what_thread_does.cpp
+)
diff --git a/library/cpp/messagebus/actor/CMakeLists.linux.txt b/library/cpp/messagebus/actor/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ee628ebbfd
--- /dev/null
+++ b/library/cpp/messagebus/actor/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated 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(messagebus_actor)
+target_link_libraries(messagebus_actor PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(messagebus_actor PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/executor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/thread_extra.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/what_thread_does.cpp
+)
diff --git a/library/cpp/messagebus/actor/CMakeLists.txt b/library/cpp/messagebus/actor/CMakeLists.txt
index defce0ef7b..3e0811fb22 100644
--- a/library/cpp/messagebus/actor/CMakeLists.txt
+++ b/library/cpp/messagebus/actor/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(messagebus_actor)
-target_link_libraries(messagebus_actor PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(messagebus_actor PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/executor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/thread_extra.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/what_thread_does.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/messagebus/config/CMakeLists.darwin.txt b/library/cpp/messagebus/config/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..6b2710b95d
--- /dev/null
+++ b/library/cpp/messagebus/config/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# This file was gererated 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-messagebus-config)
+target_link_libraries(cpp-messagebus-config PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-getopt
+ cpp-deprecated-enum_codegen
+)
+target_sources(cpp-messagebus-config PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/netaddr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/session_config.cpp
+)
diff --git a/library/cpp/messagebus/config/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/config/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b0bfbc77be
--- /dev/null
+++ b/library/cpp/messagebus/config/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated 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-messagebus-config)
+target_link_libraries(cpp-messagebus-config PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-getopt
+ cpp-deprecated-enum_codegen
+)
+target_sources(cpp-messagebus-config PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/netaddr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/session_config.cpp
+)
diff --git a/library/cpp/messagebus/config/CMakeLists.linux.txt b/library/cpp/messagebus/config/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b0bfbc77be
--- /dev/null
+++ b/library/cpp/messagebus/config/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated 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-messagebus-config)
+target_link_libraries(cpp-messagebus-config PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-getopt
+ cpp-deprecated-enum_codegen
+)
+target_sources(cpp-messagebus-config PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/netaddr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/session_config.cpp
+)
diff --git a/library/cpp/messagebus/config/CMakeLists.txt b/library/cpp/messagebus/config/CMakeLists.txt
index 6b2710b95d..3e0811fb22 100644
--- a/library/cpp/messagebus/config/CMakeLists.txt
+++ b/library/cpp/messagebus/config/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-messagebus-config)
-target_link_libraries(cpp-messagebus-config PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-getopt
- cpp-deprecated-enum_codegen
-)
-target_sources(cpp-messagebus-config PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/netaddr.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/session_config.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/messagebus/monitoring/CMakeLists.darwin.txt b/library/cpp/messagebus/monitoring/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b7390f7c7f
--- /dev/null
+++ b/library/cpp/messagebus/monitoring/CMakeLists.darwin.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated 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-messagebus-monitoring)
+target_link_libraries(cpp-messagebus-monitoring PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ encode-legacy_protobuf-protos
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-messagebus-monitoring PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/monitoring/mon_proto.proto
+)
+target_proto_addincls(cpp-messagebus-monitoring
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-messagebus-monitoring
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/messagebus/monitoring/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/monitoring/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..2fe6527338
--- /dev/null
+++ b/library/cpp/messagebus/monitoring/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,33 @@
+
+# This file was gererated 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-messagebus-monitoring)
+target_link_libraries(cpp-messagebus-monitoring PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ encode-legacy_protobuf-protos
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-messagebus-monitoring PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/monitoring/mon_proto.proto
+)
+target_proto_addincls(cpp-messagebus-monitoring
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-messagebus-monitoring
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/messagebus/monitoring/CMakeLists.linux.txt b/library/cpp/messagebus/monitoring/CMakeLists.linux.txt
new file mode 100644
index 0000000000..2fe6527338
--- /dev/null
+++ b/library/cpp/messagebus/monitoring/CMakeLists.linux.txt
@@ -0,0 +1,33 @@
+
+# This file was gererated 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-messagebus-monitoring)
+target_link_libraries(cpp-messagebus-monitoring PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ encode-legacy_protobuf-protos
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-messagebus-monitoring PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/monitoring/mon_proto.proto
+)
+target_proto_addincls(cpp-messagebus-monitoring
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-messagebus-monitoring
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/messagebus/monitoring/CMakeLists.txt b/library/cpp/messagebus/monitoring/CMakeLists.txt
index b7390f7c7f..3e0811fb22 100644
--- a/library/cpp/messagebus/monitoring/CMakeLists.txt
+++ b/library/cpp/messagebus/monitoring/CMakeLists.txt
@@ -6,27 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-messagebus-monitoring)
-target_link_libraries(cpp-messagebus-monitoring PUBLIC
- contrib-libs-cxxsupp
- yutil
- encode-legacy_protobuf-protos
- contrib-libs-protobuf
-)
-target_proto_messages(cpp-messagebus-monitoring PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/monitoring/mon_proto.proto
-)
-target_proto_addincls(cpp-messagebus-monitoring
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(cpp-messagebus-monitoring
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/messagebus/oldmodule/CMakeLists.darwin.txt b/library/cpp/messagebus/oldmodule/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b4f59bc156
--- /dev/null
+++ b/library/cpp/messagebus/oldmodule/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# This file was gererated 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-messagebus-oldmodule)
+target_link_libraries(cpp-messagebus-oldmodule PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(cpp-messagebus-oldmodule PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/module.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/startsession.cpp
+)
diff --git a/library/cpp/messagebus/oldmodule/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/oldmodule/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..671dd19395
--- /dev/null
+++ b/library/cpp/messagebus/oldmodule/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated 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-messagebus-oldmodule)
+target_link_libraries(cpp-messagebus-oldmodule PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(cpp-messagebus-oldmodule PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/module.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/startsession.cpp
+)
diff --git a/library/cpp/messagebus/oldmodule/CMakeLists.linux.txt b/library/cpp/messagebus/oldmodule/CMakeLists.linux.txt
new file mode 100644
index 0000000000..671dd19395
--- /dev/null
+++ b/library/cpp/messagebus/oldmodule/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated 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-messagebus-oldmodule)
+target_link_libraries(cpp-messagebus-oldmodule PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(cpp-messagebus-oldmodule PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/module.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/startsession.cpp
+)
diff --git a/library/cpp/messagebus/oldmodule/CMakeLists.txt b/library/cpp/messagebus/oldmodule/CMakeLists.txt
index b4f59bc156..3e0811fb22 100644
--- a/library/cpp/messagebus/oldmodule/CMakeLists.txt
+++ b/library/cpp/messagebus/oldmodule/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-messagebus-oldmodule)
-target_link_libraries(cpp-messagebus-oldmodule PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-messagebus
- messagebus_actor
-)
-target_sources(cpp-messagebus-oldmodule PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/module.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/startsession.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/messagebus/protobuf/CMakeLists.darwin.txt b/library/cpp/messagebus/protobuf/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c7e016b2c0
--- /dev/null
+++ b/library/cpp/messagebus/protobuf/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# This file was gererated 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(messagebus_protobuf)
+target_link_libraries(messagebus_protobuf PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(messagebus_protobuf PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/protobuf/ybusbuf.cpp
+)
diff --git a/library/cpp/messagebus/protobuf/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/protobuf/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b66e16cf13
--- /dev/null
+++ b/library/cpp/messagebus/protobuf/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated 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(messagebus_protobuf)
+target_link_libraries(messagebus_protobuf PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(messagebus_protobuf PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/protobuf/ybusbuf.cpp
+)
diff --git a/library/cpp/messagebus/protobuf/CMakeLists.linux.txt b/library/cpp/messagebus/protobuf/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b66e16cf13
--- /dev/null
+++ b/library/cpp/messagebus/protobuf/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated 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(messagebus_protobuf)
+target_link_libraries(messagebus_protobuf PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(messagebus_protobuf PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/protobuf/ybusbuf.cpp
+)
diff --git a/library/cpp/messagebus/protobuf/CMakeLists.txt b/library/cpp/messagebus/protobuf/CMakeLists.txt
index c7e016b2c0..3e0811fb22 100644
--- a/library/cpp/messagebus/protobuf/CMakeLists.txt
+++ b/library/cpp/messagebus/protobuf/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(messagebus_protobuf)
-target_link_libraries(messagebus_protobuf PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
- library-cpp-messagebus
- messagebus_actor
-)
-target_sources(messagebus_protobuf PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/protobuf/ybusbuf.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/messagebus/scheduler/CMakeLists.darwin.txt b/library/cpp/messagebus/scheduler/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..051188b05c
--- /dev/null
+++ b/library/cpp/messagebus/scheduler/CMakeLists.darwin.txt
@@ -0,0 +1,19 @@
+
+# This file was gererated 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-messagebus-scheduler)
+target_link_libraries(cpp-messagebus-scheduler PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(cpp-messagebus-scheduler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/scheduler/scheduler.cpp
+)
diff --git a/library/cpp/messagebus/scheduler/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/scheduler/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..618abf8d30
--- /dev/null
+++ b/library/cpp/messagebus/scheduler/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# This file was gererated 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-messagebus-scheduler)
+target_link_libraries(cpp-messagebus-scheduler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(cpp-messagebus-scheduler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/scheduler/scheduler.cpp
+)
diff --git a/library/cpp/messagebus/scheduler/CMakeLists.linux.txt b/library/cpp/messagebus/scheduler/CMakeLists.linux.txt
new file mode 100644
index 0000000000..618abf8d30
--- /dev/null
+++ b/library/cpp/messagebus/scheduler/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# This file was gererated 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-messagebus-scheduler)
+target_link_libraries(cpp-messagebus-scheduler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(cpp-messagebus-scheduler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/scheduler/scheduler.cpp
+)
diff --git a/library/cpp/messagebus/scheduler/CMakeLists.txt b/library/cpp/messagebus/scheduler/CMakeLists.txt
index 051188b05c..3e0811fb22 100644
--- a/library/cpp/messagebus/scheduler/CMakeLists.txt
+++ b/library/cpp/messagebus/scheduler/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-messagebus-scheduler)
-target_link_libraries(cpp-messagebus-scheduler PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-threading-future
- cpp-deprecated-atomic
-)
-target_sources(cpp-messagebus-scheduler PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/scheduler/scheduler.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/messagebus/www/CMakeLists.darwin.txt b/library/cpp/messagebus/www/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..20438aeb6c
--- /dev/null
+++ b/library/cpp/messagebus/www/CMakeLists.darwin.txt
@@ -0,0 +1,56 @@
+
+# This file was gererated 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-messagebus-www)
+target_link_libraries(cpp-messagebus-www PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/html_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/www.cpp
+)
+
+add_global_library_for(cpp-messagebus-www.global cpp-messagebus-www)
+target_link_libraries(cpp-messagebus-www.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+)
+resources(cpp-messagebus-www.global
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/messagebus.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/bus-ico.png
+ KEYS
+ /messagebus.js
+ /bus-ico.png
+)
diff --git a/library/cpp/messagebus/www/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/www/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..2258594273
--- /dev/null
+++ b/library/cpp/messagebus/www/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,58 @@
+
+# This file was gererated 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-messagebus-www)
+target_link_libraries(cpp-messagebus-www PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/html_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/www.cpp
+)
+
+add_global_library_for(cpp-messagebus-www.global cpp-messagebus-www)
+target_link_libraries(cpp-messagebus-www.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+)
+resources(cpp-messagebus-www.global
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/messagebus.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/bus-ico.png
+ KEYS
+ /messagebus.js
+ /bus-ico.png
+)
diff --git a/library/cpp/messagebus/www/CMakeLists.linux.txt b/library/cpp/messagebus/www/CMakeLists.linux.txt
new file mode 100644
index 0000000000..2258594273
--- /dev/null
+++ b/library/cpp/messagebus/www/CMakeLists.linux.txt
@@ -0,0 +1,58 @@
+
+# This file was gererated 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-messagebus-www)
+target_link_libraries(cpp-messagebus-www PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/html_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/www.cpp
+)
+
+add_global_library_for(cpp-messagebus-www.global cpp-messagebus-www)
+target_link_libraries(cpp-messagebus-www.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+)
+resources(cpp-messagebus-www.global
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/messagebus.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/bus-ico.png
+ KEYS
+ /messagebus.js
+ /bus-ico.png
+)
diff --git a/library/cpp/messagebus/www/CMakeLists.txt b/library/cpp/messagebus/www/CMakeLists.txt
index 20438aeb6c..3e0811fb22 100644
--- a/library/cpp/messagebus/www/CMakeLists.txt
+++ b/library/cpp/messagebus/www/CMakeLists.txt
@@ -6,51 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-messagebus-www)
-target_link_libraries(cpp-messagebus-www PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-resource
- library-cpp-cgiparam
- cpp-html-pcdata
- cpp-http-fetch
- cpp-http-server
- cpp-json-writer
- library-cpp-messagebus
- cpp-messagebus-oldmodule
- monlib-deprecated-json
- library-cpp-uri
-)
-target_sources(cpp-messagebus-www PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/html_output.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/www.cpp
-)
-
-add_global_library_for(cpp-messagebus-www.global cpp-messagebus-www)
-target_link_libraries(cpp-messagebus-www.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-resource
- library-cpp-cgiparam
- cpp-html-pcdata
- cpp-http-fetch
- cpp-http-server
- cpp-json-writer
- library-cpp-messagebus
- cpp-messagebus-oldmodule
- monlib-deprecated-json
- library-cpp-uri
-)
-target_sources(cpp-messagebus-www.global PRIVATE
- ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
-)
-resources(cpp-messagebus-www.global
- ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
- INPUTS
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/messagebus.js
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/bus-ico.png
- KEYS
- /messagebus.js
- /bus-ico.png
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()