Browse Source

Reimport boost/asio as a separate project

bugaevskiy 2 years ago
parent
commit
f2881db44b

+ 1 - 0
contrib/libs/apache/avro/CMakeLists.txt

@@ -28,6 +28,7 @@ target_link_libraries(libs-apache-avro PUBLIC
   contrib-libs-cxxsupp
   contrib-libs-snappy
   contrib-restricted-boost
+  restricted-boost-asio
   restricted-boost-crc
   restricted-boost-iostreams
 )

+ 3 - 0
contrib/restricted/boost/CMakeLists.txt

@@ -10,6 +10,7 @@ add_subdirectory(algorithm)
 add_subdirectory(align)
 add_subdirectory(any)
 add_subdirectory(array)
+add_subdirectory(asio)
 add_subdirectory(assert)
 add_subdirectory(atomic)
 add_subdirectory(bind)
@@ -19,8 +20,10 @@ add_subdirectory(concept_check)
 add_subdirectory(config)
 add_subdirectory(container)
 add_subdirectory(container_hash)
+add_subdirectory(context)
 add_subdirectory(conversion)
 add_subdirectory(core)
+add_subdirectory(coroutine)
 add_subdirectory(crc)
 add_subdirectory(date_time)
 add_subdirectory(detail)

+ 34 - 0
contrib/restricted/boost/asio/CMakeLists.txt

@@ -0,0 +1,34 @@
+
+# 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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(restricted-boost-asio INTERFACE)
+target_include_directories(restricted-boost-asio INTERFACE
+  ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/asio/include
+)
+target_link_libraries(restricted-boost-asio INTERFACE
+  contrib-libs-cxxsupp
+  yutil
+  OpenSSL::OpenSSL
+  restricted-boost-array
+  restricted-boost-assert
+  restricted-boost-bind
+  restricted-boost-chrono
+  restricted-boost-config
+  restricted-boost-core
+  restricted-boost-coroutine
+  restricted-boost-date_time
+  restricted-boost-function
+  restricted-boost-regex
+  restricted-boost-smart_ptr
+  restricted-boost-system
+  restricted-boost-throw_exception
+  restricted-boost-type_traits
+  restricted-boost-utility
+)

+ 0 - 0
contrib/restricted/boost/boost/asio/associated_allocator.hpp → contrib/restricted/boost/asio/include/boost/asio/associated_allocator.hpp


+ 0 - 0
contrib/restricted/boost/boost/asio/associated_executor.hpp → contrib/restricted/boost/asio/include/boost/asio/associated_executor.hpp


+ 0 - 0
contrib/restricted/boost/boost/asio/async_result.hpp → contrib/restricted/boost/asio/include/boost/asio/async_result.hpp


+ 0 - 0
contrib/restricted/boost/boost/asio/basic_datagram_socket.hpp → contrib/restricted/boost/asio/include/boost/asio/basic_datagram_socket.hpp


+ 0 - 0
contrib/restricted/boost/boost/asio/basic_io_object.hpp → contrib/restricted/boost/asio/include/boost/asio/basic_io_object.hpp


+ 0 - 0
contrib/restricted/boost/boost/asio/basic_socket.hpp → contrib/restricted/boost/asio/include/boost/asio/basic_socket.hpp


+ 0 - 0
contrib/restricted/boost/boost/asio/buffer.hpp → contrib/restricted/boost/asio/include/boost/asio/buffer.hpp


Some files were not shown because too many files changed in this diff