aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugaevskiy <bugaevskiy@yandex-team.com>2022-08-14 11:31:48 +0300
committerbugaevskiy <bugaevskiy@yandex-team.com>2022-08-14 11:31:48 +0300
commitdcd0f59d274b8651b7a32a1ff68bd684aea19feb (patch)
tree67391f241d7cfb699e48fc7fb42e7fed9cbed2a7
parent8be8df07942833a49fc2898005793f8d3c630b43 (diff)
downloadydb-dcd0f59d274b8651b7a32a1ff68bd684aea19feb.tar.gz
Reimport boost/foreach as a separate project
-rw-r--r--CMakeLists.darwin.txt17
-rw-r--r--CMakeLists.linux.txt17
-rw-r--r--contrib/restricted/boost/CMakeLists.txt1
-rw-r--r--contrib/restricted/boost/foreach/CMakeLists.txt23
-rw-r--r--contrib/restricted/boost/foreach/include/boost/foreach.hpp (renamed from contrib/restricted/boost/boost/foreach.hpp)0
-rw-r--r--contrib/restricted/boost/foreach/include/boost/foreach_fwd.hpp (renamed from contrib/restricted/boost/boost/foreach_fwd.hpp)0
6 files changed, 42 insertions, 16 deletions
diff --git a/CMakeLists.darwin.txt b/CMakeLists.darwin.txt
index d450c03d64..4c60b7e6b3 100644
--- a/CMakeLists.darwin.txt
+++ b/CMakeLists.darwin.txt
@@ -302,25 +302,26 @@ add_subdirectory(contrib/restricted/boost/system)
add_subdirectory(contrib/restricted/boost/winapi)
add_subdirectory(contrib/restricted/boost/exception)
add_subdirectory(contrib/restricted/boost/tuple)
-add_subdirectory(contrib/restricted/boost/format)
-add_subdirectory(contrib/restricted/boost/optional)
-add_subdirectory(contrib/restricted/boost/function)
+add_subdirectory(contrib/restricted/boost/foreach)
+add_subdirectory(contrib/restricted/boost/iterator)
add_subdirectory(contrib/restricted/boost/function_types)
add_subdirectory(contrib/restricted/boost/fusion)
+add_subdirectory(contrib/restricted/boost/optional)
+add_subdirectory(contrib/restricted/boost/range)
+add_subdirectory(contrib/restricted/boost/numeric_conversion)
+add_subdirectory(contrib/restricted/boost/regex)
+add_subdirectory(contrib/libs/icu)
+add_subdirectory(contrib/restricted/boost/format)
+add_subdirectory(contrib/restricted/boost/function)
add_subdirectory(contrib/restricted/boost/interval)
add_subdirectory(contrib/restricted/boost/logic)
add_subdirectory(contrib/restricted/boost/io)
-add_subdirectory(contrib/restricted/boost/iterator)
add_subdirectory(contrib/restricted/boost/lambda)
add_subdirectory(contrib/restricted/boost/mp11)
add_subdirectory(contrib/restricted/boost/multi_array)
add_subdirectory(contrib/restricted/boost/functional)
-add_subdirectory(contrib/restricted/boost/numeric_conversion)
add_subdirectory(contrib/restricted/boost/polygon)
add_subdirectory(contrib/restricted/boost/qvm)
-add_subdirectory(contrib/restricted/boost/range)
-add_subdirectory(contrib/restricted/boost/regex)
-add_subdirectory(contrib/libs/icu)
add_subdirectory(contrib/restricted/boost/rational)
add_subdirectory(contrib/restricted/boost/tokenizer)
add_subdirectory(contrib/restricted/boost/tti)
diff --git a/CMakeLists.linux.txt b/CMakeLists.linux.txt
index 80a7d405d2..4d1943b13e 100644
--- a/CMakeLists.linux.txt
+++ b/CMakeLists.linux.txt
@@ -305,25 +305,26 @@ add_subdirectory(contrib/restricted/boost/system)
add_subdirectory(contrib/restricted/boost/winapi)
add_subdirectory(contrib/restricted/boost/exception)
add_subdirectory(contrib/restricted/boost/tuple)
-add_subdirectory(contrib/restricted/boost/format)
-add_subdirectory(contrib/restricted/boost/optional)
-add_subdirectory(contrib/restricted/boost/function)
+add_subdirectory(contrib/restricted/boost/foreach)
+add_subdirectory(contrib/restricted/boost/iterator)
add_subdirectory(contrib/restricted/boost/function_types)
add_subdirectory(contrib/restricted/boost/fusion)
+add_subdirectory(contrib/restricted/boost/optional)
+add_subdirectory(contrib/restricted/boost/range)
+add_subdirectory(contrib/restricted/boost/numeric_conversion)
+add_subdirectory(contrib/restricted/boost/regex)
+add_subdirectory(contrib/libs/icu)
+add_subdirectory(contrib/restricted/boost/format)
+add_subdirectory(contrib/restricted/boost/function)
add_subdirectory(contrib/restricted/boost/interval)
add_subdirectory(contrib/restricted/boost/logic)
add_subdirectory(contrib/restricted/boost/io)
-add_subdirectory(contrib/restricted/boost/iterator)
add_subdirectory(contrib/restricted/boost/lambda)
add_subdirectory(contrib/restricted/boost/mp11)
add_subdirectory(contrib/restricted/boost/multi_array)
add_subdirectory(contrib/restricted/boost/functional)
-add_subdirectory(contrib/restricted/boost/numeric_conversion)
add_subdirectory(contrib/restricted/boost/polygon)
add_subdirectory(contrib/restricted/boost/qvm)
-add_subdirectory(contrib/restricted/boost/range)
-add_subdirectory(contrib/restricted/boost/regex)
-add_subdirectory(contrib/libs/icu)
add_subdirectory(contrib/restricted/boost/rational)
add_subdirectory(contrib/restricted/boost/tokenizer)
add_subdirectory(contrib/restricted/boost/tti)
diff --git a/contrib/restricted/boost/CMakeLists.txt b/contrib/restricted/boost/CMakeLists.txt
index 9f92aee9f2..033c41960e 100644
--- a/contrib/restricted/boost/CMakeLists.txt
+++ b/contrib/restricted/boost/CMakeLists.txt
@@ -28,6 +28,7 @@ target_link_libraries(contrib-restricted-boost INTERFACE
restricted-boost-detail
restricted-boost-endian
restricted-boost-exception
+ restricted-boost-foreach
restricted-boost-format
restricted-boost-function
restricted-boost-function_types
diff --git a/contrib/restricted/boost/foreach/CMakeLists.txt b/contrib/restricted/boost/foreach/CMakeLists.txt
new file mode 100644
index 0000000000..b44934bb3a
--- /dev/null
+++ b/contrib/restricted/boost/foreach/CMakeLists.txt
@@ -0,0 +1,23 @@
+
+# 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(restricted-boost-foreach INTERFACE)
+target_include_directories(restricted-boost-foreach INTERFACE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/foreach/include
+)
+target_link_libraries(restricted-boost-foreach INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ restricted-boost-config
+ restricted-boost-core
+ restricted-boost-iterator
+ restricted-boost-mpl
+ restricted-boost-range
+ restricted-boost-type_traits
+)
diff --git a/contrib/restricted/boost/boost/foreach.hpp b/contrib/restricted/boost/foreach/include/boost/foreach.hpp
index eb3a50b653..eb3a50b653 100644
--- a/contrib/restricted/boost/boost/foreach.hpp
+++ b/contrib/restricted/boost/foreach/include/boost/foreach.hpp
diff --git a/contrib/restricted/boost/boost/foreach_fwd.hpp b/contrib/restricted/boost/foreach/include/boost/foreach_fwd.hpp
index 4e0bb370c2..4e0bb370c2 100644
--- a/contrib/restricted/boost/boost/foreach_fwd.hpp
+++ b/contrib/restricted/boost/foreach/include/boost/foreach_fwd.hpp