aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugaevskiy <bugaevskiy@yandex-team.com>2022-07-21 09:58:53 +0300
committerbugaevskiy <bugaevskiy@yandex-team.com>2022-07-21 09:58:53 +0300
commitbf7e86411ff6f5fe95751ef9835bd8f49f3e3db8 (patch)
tree7121c2b8e635ec36eda02c87abe9be8994d85edb
parentfab0834c2c9d7652c3b4b3897654a85b3fbb7885 (diff)
downloadydb-bf7e86411ff6f5fe95751ef9835bd8f49f3e3db8.tar.gz
Reimport boost/assert as a separate project
-rw-r--r--CMakeLists.darwin.txt1
-rw-r--r--CMakeLists.linux.txt1
-rw-r--r--contrib/restricted/boost/CMakeLists.txt1
-rw-r--r--contrib/restricted/boost/assert/CMakeLists.txt18
-rw-r--r--contrib/restricted/boost/assert/README.md14
-rw-r--r--contrib/restricted/boost/assert/include/boost/assert.hpp (renamed from contrib/restricted/boost/boost/assert.hpp)0
-rw-r--r--contrib/restricted/boost/assert/include/boost/current_function.hpp (renamed from contrib/restricted/boost/boost/current_function.hpp)0
7 files changed, 35 insertions, 0 deletions
diff --git a/CMakeLists.darwin.txt b/CMakeLists.darwin.txt
index bc542c8a0c7..48bde518459 100644
--- a/CMakeLists.darwin.txt
+++ b/CMakeLists.darwin.txt
@@ -133,6 +133,7 @@ add_subdirectory(contrib/libs/apache/orc)
add_subdirectory(contrib/libs/re2)
add_subdirectory(contrib/libs/utf8proc)
add_subdirectory(contrib/restricted/boost)
+add_subdirectory(contrib/restricted/boost/assert)
add_subdirectory(contrib/restricted/boost/config)
add_subdirectory(contrib/restricted/boost/io)
add_subdirectory(contrib/restricted/boost/predef)
diff --git a/CMakeLists.linux.txt b/CMakeLists.linux.txt
index d4c262bda65..801112f987a 100644
--- a/CMakeLists.linux.txt
+++ b/CMakeLists.linux.txt
@@ -211,6 +211,7 @@ add_subdirectory(contrib/libs/apache/orc)
add_subdirectory(contrib/libs/re2)
add_subdirectory(contrib/libs/utf8proc)
add_subdirectory(contrib/restricted/boost)
+add_subdirectory(contrib/restricted/boost/assert)
add_subdirectory(contrib/restricted/boost/config)
add_subdirectory(contrib/restricted/boost/io)
add_subdirectory(contrib/restricted/boost/predef)
diff --git a/contrib/restricted/boost/CMakeLists.txt b/contrib/restricted/boost/CMakeLists.txt
index f8c50cfc4e6..ac47e5a9277 100644
--- a/contrib/restricted/boost/CMakeLists.txt
+++ b/contrib/restricted/boost/CMakeLists.txt
@@ -13,6 +13,7 @@ target_include_directories(contrib-restricted-boost INTERFACE
)
target_link_libraries(contrib-restricted-boost INTERFACE
contrib-libs-cxxsupp
+ restricted-boost-assert
restricted-boost-config
restricted-boost-io
restricted-boost-predef
diff --git a/contrib/restricted/boost/assert/CMakeLists.txt b/contrib/restricted/boost/assert/CMakeLists.txt
new file mode 100644
index 00000000000..48143dc4266
--- /dev/null
+++ b/contrib/restricted/boost/assert/CMakeLists.txt
@@ -0,0 +1,18 @@
+
+# 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-assert INTERFACE)
+target_include_directories(restricted-boost-assert INTERFACE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/assert/include
+)
+target_link_libraries(restricted-boost-assert INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ restricted-boost-config
+)
diff --git a/contrib/restricted/boost/assert/README.md b/contrib/restricted/boost/assert/README.md
new file mode 100644
index 00000000000..645b7bb4902
--- /dev/null
+++ b/contrib/restricted/boost/assert/README.md
@@ -0,0 +1,14 @@
+# Boost.Assert
+
+The Boost.Assert library, part of the collection of [Boost C++ Libraries](http://github.com/boostorg),
+provides several configurable diagnostic macros similar in behavior and purpose to the standard macro
+`assert` from `<cassert>`.
+
+## Documentation
+
+See the documentation of [BOOST_ASSERT](doc/assert.adoc) and
+[BOOST_CURRENT_FUNCTION](doc/current_function.adoc) for more information.
+
+## License
+
+Distributed under the [Boost Software License, Version 1.0](http://boost.org/LICENSE_1_0.txt).
diff --git a/contrib/restricted/boost/boost/assert.hpp b/contrib/restricted/boost/assert/include/boost/assert.hpp
index 9650d7a2908..9650d7a2908 100644
--- a/contrib/restricted/boost/boost/assert.hpp
+++ b/contrib/restricted/boost/assert/include/boost/assert.hpp
diff --git a/contrib/restricted/boost/boost/current_function.hpp b/contrib/restricted/boost/assert/include/boost/current_function.hpp
index 86955cb041b..86955cb041b 100644
--- a/contrib/restricted/boost/boost/current_function.hpp
+++ b/contrib/restricted/boost/assert/include/boost/current_function.hpp