aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/libs
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
commitd32759b7eb812b4a4033cc61e1e98245544b4992 (patch)
tree22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib/restricted/boost/libs
parent471e9b902d01b70b2d12146772e30528a216ee82 (diff)
downloadydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/restricted/boost/libs')
-rw-r--r--contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt43
-rw-r--r--contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt42
-rw-r--r--contrib/restricted/boost/libs/chrono/CMakeLists.txt39
-rw-r--r--contrib/restricted/boost/libs/iostreams/CMakeLists.linux.txt47
-rw-r--r--contrib/restricted/boost/libs/iostreams/CMakeLists.txt42
-rw-r--r--contrib/restricted/boost/libs/program_options/CMakeLists.linux.txt50
-rw-r--r--contrib/restricted/boost/libs/program_options/CMakeLists.txt45
-rw-r--r--contrib/restricted/boost/libs/system/CMakeLists.darwin.txt41
-rw-r--r--contrib/restricted/boost/libs/system/CMakeLists.linux.txt40
-rw-r--r--contrib/restricted/boost/libs/system/CMakeLists.txt37
-rw-r--r--contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt45
-rw-r--r--contrib/restricted/boost/libs/thread/CMakeLists.linux.txt44
-rw-r--r--contrib/restricted/boost/libs/thread/CMakeLists.txt41
13 files changed, 373 insertions, 183 deletions
diff --git a/contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt b/contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..a47c7a0a8c
--- /dev/null
+++ b/contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt
@@ -0,0 +1,43 @@
+
+# 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(boost-libs-chrono)
+target_compile_options(boost-libs-chrono PRIVATE
+ -DBOOST_ATOMIC_STATIC_LINK=1
+ -DBOOST_All_STATIC_LINK=1
+ -DBOOST_CHRONO_STATIC_LINK=1
+ -DBOOST_SYSTEM_STATIC_LINK=1
+ -DBOOST_TIMER_STATIC_LINK=1
+ -DBOOST_ALL_NO_LIB=1
+ -DBOOST_ATOMIC_SOURCE
+ -DBOOST_COROUTINES_SOURCE
+ -DBOOST_DISABLE_ASSERTS
+ -DBOOST_SPIRIT_USE_PHOENIX_V3=1
+ -DBOOST_SYSTEM_NO_DEPRECATED
+ -DBOOST_THREAD_BUILD_LIB=1
+ -DBOOST_THREAD_DONT_USE_CHRONO=1
+ -DBOOST_THREAD_NO_LIB=1
+ -DBOOST_THREAD_USE_LIB=1
+ -DDATE_TIME_INLINE
+ -DBOOST_THREAD_DONT_USE_CHRONO
+ -DBOOST_THREAD_POSIX
+ -D_DARWIN_C_SOURCE=1
+)
+target_include_directories(boost-libs-chrono PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
+)
+target_link_libraries(boost-libs-chrono PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-boost
+)
+target_sources(boost-libs-chrono PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/chrono.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/process_cpu_clocks.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/thread_clock.cpp
+)
diff --git a/contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt b/contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt
new file mode 100644
index 0000000000..0361f08779
--- /dev/null
+++ b/contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt
@@ -0,0 +1,42 @@
+
+# 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(boost-libs-chrono)
+target_compile_options(boost-libs-chrono PRIVATE
+ -DBOOST_ATOMIC_STATIC_LINK=1
+ -DBOOST_All_STATIC_LINK=1
+ -DBOOST_CHRONO_STATIC_LINK=1
+ -DBOOST_SYSTEM_STATIC_LINK=1
+ -DBOOST_TIMER_STATIC_LINK=1
+ -DBOOST_ALL_NO_LIB=1
+ -DBOOST_ATOMIC_SOURCE
+ -DBOOST_COROUTINES_SOURCE
+ -DBOOST_DISABLE_ASSERTS
+ -DBOOST_SPIRIT_USE_PHOENIX_V3=1
+ -DBOOST_SYSTEM_NO_DEPRECATED
+ -DBOOST_THREAD_BUILD_LIB=1
+ -DBOOST_THREAD_DONT_USE_CHRONO=1
+ -DBOOST_THREAD_NO_LIB=1
+ -DBOOST_THREAD_USE_LIB=1
+ -DDATE_TIME_INLINE
+ -DBOOST_THREAD_DONT_USE_CHRONO
+ -DBOOST_THREAD_POSIX
+)
+target_include_directories(boost-libs-chrono PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
+)
+target_link_libraries(boost-libs-chrono PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-boost
+)
+target_sources(boost-libs-chrono PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/chrono.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/process_cpu_clocks.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/thread_clock.cpp
+)
diff --git a/contrib/restricted/boost/libs/chrono/CMakeLists.txt b/contrib/restricted/boost/libs/chrono/CMakeLists.txt
index 0361f08779..a681d385f3 100644
--- a/contrib/restricted/boost/libs/chrono/CMakeLists.txt
+++ b/contrib/restricted/boost/libs/chrono/CMakeLists.txt
@@ -6,37 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(boost-libs-chrono)
-target_compile_options(boost-libs-chrono PRIVATE
- -DBOOST_ATOMIC_STATIC_LINK=1
- -DBOOST_All_STATIC_LINK=1
- -DBOOST_CHRONO_STATIC_LINK=1
- -DBOOST_SYSTEM_STATIC_LINK=1
- -DBOOST_TIMER_STATIC_LINK=1
- -DBOOST_ALL_NO_LIB=1
- -DBOOST_ATOMIC_SOURCE
- -DBOOST_COROUTINES_SOURCE
- -DBOOST_DISABLE_ASSERTS
- -DBOOST_SPIRIT_USE_PHOENIX_V3=1
- -DBOOST_SYSTEM_NO_DEPRECATED
- -DBOOST_THREAD_BUILD_LIB=1
- -DBOOST_THREAD_DONT_USE_CHRONO=1
- -DBOOST_THREAD_NO_LIB=1
- -DBOOST_THREAD_USE_LIB=1
- -DDATE_TIME_INLINE
- -DBOOST_THREAD_DONT_USE_CHRONO
- -DBOOST_THREAD_POSIX
-)
-target_include_directories(boost-libs-chrono PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
-)
-target_link_libraries(boost-libs-chrono PUBLIC
- contrib-libs-cxxsupp
- contrib-restricted-boost
-)
-target_sources(boost-libs-chrono PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/chrono.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/process_cpu_clocks.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/thread_clock.cpp
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/restricted/boost/libs/iostreams/CMakeLists.linux.txt b/contrib/restricted/boost/libs/iostreams/CMakeLists.linux.txt
new file mode 100644
index 0000000000..def456e2c8
--- /dev/null
+++ b/contrib/restricted/boost/libs/iostreams/CMakeLists.linux.txt
@@ -0,0 +1,47 @@
+
+# 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(ZLIB REQUIRED)
+
+add_library(boost-libs-iostreams)
+target_compile_options(boost-libs-iostreams PRIVATE
+ -DBOOST_ATOMIC_STATIC_LINK=1
+ -DBOOST_All_STATIC_LINK=1
+ -DBOOST_CHRONO_STATIC_LINK=1
+ -DBOOST_SYSTEM_STATIC_LINK=1
+ -DBOOST_TIMER_STATIC_LINK=1
+ -DBOOST_ALL_NO_LIB=1
+ -DBOOST_ATOMIC_SOURCE
+ -DBOOST_COROUTINES_SOURCE
+ -DBOOST_DISABLE_ASSERTS
+ -DBOOST_SPIRIT_USE_PHOENIX_V3=1
+ -DBOOST_SYSTEM_NO_DEPRECATED
+ -DBOOST_THREAD_BUILD_LIB=1
+ -DBOOST_THREAD_DONT_USE_CHRONO=1
+ -DBOOST_THREAD_NO_LIB=1
+ -DBOOST_THREAD_USE_LIB=1
+ -DDATE_TIME_INLINE
+ -DBOOST_THREAD_DONT_USE_CHRONO
+ -DBOOST_THREAD_POSIX
+ -DBOOST_IOSTREAMS_USE_DEPRECATED
+)
+target_include_directories(boost-libs-iostreams PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
+)
+target_link_libraries(boost-libs-iostreams PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-boost
+ ZLIB::ZLIB
+ contrib-libs-libbz2
+)
+target_sources(boost-libs-iostreams PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/file_descriptor.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/gzip.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/mapped_file.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/zlib.cpp
+)
diff --git a/contrib/restricted/boost/libs/iostreams/CMakeLists.txt b/contrib/restricted/boost/libs/iostreams/CMakeLists.txt
index def456e2c8..c031ddb850 100644
--- a/contrib/restricted/boost/libs/iostreams/CMakeLists.txt
+++ b/contrib/restricted/boost/libs/iostreams/CMakeLists.txt
@@ -6,42 +6,6 @@
# original buildsystem will not be accepted.
-find_package(ZLIB REQUIRED)
-
-add_library(boost-libs-iostreams)
-target_compile_options(boost-libs-iostreams PRIVATE
- -DBOOST_ATOMIC_STATIC_LINK=1
- -DBOOST_All_STATIC_LINK=1
- -DBOOST_CHRONO_STATIC_LINK=1
- -DBOOST_SYSTEM_STATIC_LINK=1
- -DBOOST_TIMER_STATIC_LINK=1
- -DBOOST_ALL_NO_LIB=1
- -DBOOST_ATOMIC_SOURCE
- -DBOOST_COROUTINES_SOURCE
- -DBOOST_DISABLE_ASSERTS
- -DBOOST_SPIRIT_USE_PHOENIX_V3=1
- -DBOOST_SYSTEM_NO_DEPRECATED
- -DBOOST_THREAD_BUILD_LIB=1
- -DBOOST_THREAD_DONT_USE_CHRONO=1
- -DBOOST_THREAD_NO_LIB=1
- -DBOOST_THREAD_USE_LIB=1
- -DDATE_TIME_INLINE
- -DBOOST_THREAD_DONT_USE_CHRONO
- -DBOOST_THREAD_POSIX
- -DBOOST_IOSTREAMS_USE_DEPRECATED
-)
-target_include_directories(boost-libs-iostreams PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
-)
-target_link_libraries(boost-libs-iostreams PUBLIC
- contrib-libs-cxxsupp
- contrib-restricted-boost
- ZLIB::ZLIB
- contrib-libs-libbz2
-)
-target_sources(boost-libs-iostreams PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/file_descriptor.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/gzip.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/mapped_file.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/zlib.cpp
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/restricted/boost/libs/program_options/CMakeLists.linux.txt b/contrib/restricted/boost/libs/program_options/CMakeLists.linux.txt
new file mode 100644
index 0000000000..050de9dc8d
--- /dev/null
+++ b/contrib/restricted/boost/libs/program_options/CMakeLists.linux.txt
@@ -0,0 +1,50 @@
+
+# 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(boost-libs-program_options)
+target_compile_options(boost-libs-program_options PRIVATE
+ -DBOOST_ATOMIC_STATIC_LINK=1
+ -DBOOST_All_STATIC_LINK=1
+ -DBOOST_CHRONO_STATIC_LINK=1
+ -DBOOST_SYSTEM_STATIC_LINK=1
+ -DBOOST_TIMER_STATIC_LINK=1
+ -DBOOST_ALL_NO_LIB=1
+ -DBOOST_ATOMIC_SOURCE
+ -DBOOST_COROUTINES_SOURCE
+ -DBOOST_DISABLE_ASSERTS
+ -DBOOST_SPIRIT_USE_PHOENIX_V3=1
+ -DBOOST_SYSTEM_NO_DEPRECATED
+ -DBOOST_THREAD_BUILD_LIB=1
+ -DBOOST_THREAD_DONT_USE_CHRONO=1
+ -DBOOST_THREAD_NO_LIB=1
+ -DBOOST_THREAD_USE_LIB=1
+ -DDATE_TIME_INLINE
+ -DBOOST_THREAD_DONT_USE_CHRONO
+ -DBOOST_THREAD_POSIX
+)
+target_include_directories(boost-libs-program_options PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
+)
+target_link_libraries(boost-libs-program_options PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-boost
+)
+target_sources(boost-libs-program_options PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/cmdline.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/config_file.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/convert.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/options_description.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/parsers.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/positional_options.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/split.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/utf8_codecvt_facet.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/value_semantic.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/variables_map.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/winmain.cpp
+)
diff --git a/contrib/restricted/boost/libs/program_options/CMakeLists.txt b/contrib/restricted/boost/libs/program_options/CMakeLists.txt
index 050de9dc8d..c031ddb850 100644
--- a/contrib/restricted/boost/libs/program_options/CMakeLists.txt
+++ b/contrib/restricted/boost/libs/program_options/CMakeLists.txt
@@ -6,45 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(boost-libs-program_options)
-target_compile_options(boost-libs-program_options PRIVATE
- -DBOOST_ATOMIC_STATIC_LINK=1
- -DBOOST_All_STATIC_LINK=1
- -DBOOST_CHRONO_STATIC_LINK=1
- -DBOOST_SYSTEM_STATIC_LINK=1
- -DBOOST_TIMER_STATIC_LINK=1
- -DBOOST_ALL_NO_LIB=1
- -DBOOST_ATOMIC_SOURCE
- -DBOOST_COROUTINES_SOURCE
- -DBOOST_DISABLE_ASSERTS
- -DBOOST_SPIRIT_USE_PHOENIX_V3=1
- -DBOOST_SYSTEM_NO_DEPRECATED
- -DBOOST_THREAD_BUILD_LIB=1
- -DBOOST_THREAD_DONT_USE_CHRONO=1
- -DBOOST_THREAD_NO_LIB=1
- -DBOOST_THREAD_USE_LIB=1
- -DDATE_TIME_INLINE
- -DBOOST_THREAD_DONT_USE_CHRONO
- -DBOOST_THREAD_POSIX
-)
-target_include_directories(boost-libs-program_options PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
-)
-target_link_libraries(boost-libs-program_options PUBLIC
- contrib-libs-cxxsupp
- contrib-restricted-boost
-)
-target_sources(boost-libs-program_options PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/cmdline.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/config_file.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/convert.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/options_description.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/parsers.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/positional_options.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/split.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/utf8_codecvt_facet.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/value_semantic.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/variables_map.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/winmain.cpp
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/restricted/boost/libs/system/CMakeLists.darwin.txt b/contrib/restricted/boost/libs/system/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..2d6653cfc1
--- /dev/null
+++ b/contrib/restricted/boost/libs/system/CMakeLists.darwin.txt
@@ -0,0 +1,41 @@
+
+# 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(boost-libs-system)
+target_compile_options(boost-libs-system PRIVATE
+ -DBOOST_ATOMIC_STATIC_LINK=1
+ -DBOOST_All_STATIC_LINK=1
+ -DBOOST_CHRONO_STATIC_LINK=1
+ -DBOOST_SYSTEM_STATIC_LINK=1
+ -DBOOST_TIMER_STATIC_LINK=1
+ -DBOOST_ALL_NO_LIB=1
+ -DBOOST_ATOMIC_SOURCE
+ -DBOOST_COROUTINES_SOURCE
+ -DBOOST_DISABLE_ASSERTS
+ -DBOOST_SPIRIT_USE_PHOENIX_V3=1
+ -DBOOST_SYSTEM_NO_DEPRECATED
+ -DBOOST_THREAD_BUILD_LIB=1
+ -DBOOST_THREAD_DONT_USE_CHRONO=1
+ -DBOOST_THREAD_NO_LIB=1
+ -DBOOST_THREAD_USE_LIB=1
+ -DDATE_TIME_INLINE
+ -DBOOST_THREAD_DONT_USE_CHRONO
+ -DBOOST_THREAD_POSIX
+ -D_DARWIN_C_SOURCE=1
+)
+target_include_directories(boost-libs-system PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
+)
+target_link_libraries(boost-libs-system PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-boost
+)
+target_sources(boost-libs-system PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/system/src/error_code.cpp
+)
diff --git a/contrib/restricted/boost/libs/system/CMakeLists.linux.txt b/contrib/restricted/boost/libs/system/CMakeLists.linux.txt
new file mode 100644
index 0000000000..916e740bb5
--- /dev/null
+++ b/contrib/restricted/boost/libs/system/CMakeLists.linux.txt
@@ -0,0 +1,40 @@
+
+# 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(boost-libs-system)
+target_compile_options(boost-libs-system PRIVATE
+ -DBOOST_ATOMIC_STATIC_LINK=1
+ -DBOOST_All_STATIC_LINK=1
+ -DBOOST_CHRONO_STATIC_LINK=1
+ -DBOOST_SYSTEM_STATIC_LINK=1
+ -DBOOST_TIMER_STATIC_LINK=1
+ -DBOOST_ALL_NO_LIB=1
+ -DBOOST_ATOMIC_SOURCE
+ -DBOOST_COROUTINES_SOURCE
+ -DBOOST_DISABLE_ASSERTS
+ -DBOOST_SPIRIT_USE_PHOENIX_V3=1
+ -DBOOST_SYSTEM_NO_DEPRECATED
+ -DBOOST_THREAD_BUILD_LIB=1
+ -DBOOST_THREAD_DONT_USE_CHRONO=1
+ -DBOOST_THREAD_NO_LIB=1
+ -DBOOST_THREAD_USE_LIB=1
+ -DDATE_TIME_INLINE
+ -DBOOST_THREAD_DONT_USE_CHRONO
+ -DBOOST_THREAD_POSIX
+)
+target_include_directories(boost-libs-system PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
+)
+target_link_libraries(boost-libs-system PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-boost
+)
+target_sources(boost-libs-system PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/system/src/error_code.cpp
+)
diff --git a/contrib/restricted/boost/libs/system/CMakeLists.txt b/contrib/restricted/boost/libs/system/CMakeLists.txt
index 916e740bb5..a681d385f3 100644
--- a/contrib/restricted/boost/libs/system/CMakeLists.txt
+++ b/contrib/restricted/boost/libs/system/CMakeLists.txt
@@ -6,35 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(boost-libs-system)
-target_compile_options(boost-libs-system PRIVATE
- -DBOOST_ATOMIC_STATIC_LINK=1
- -DBOOST_All_STATIC_LINK=1
- -DBOOST_CHRONO_STATIC_LINK=1
- -DBOOST_SYSTEM_STATIC_LINK=1
- -DBOOST_TIMER_STATIC_LINK=1
- -DBOOST_ALL_NO_LIB=1
- -DBOOST_ATOMIC_SOURCE
- -DBOOST_COROUTINES_SOURCE
- -DBOOST_DISABLE_ASSERTS
- -DBOOST_SPIRIT_USE_PHOENIX_V3=1
- -DBOOST_SYSTEM_NO_DEPRECATED
- -DBOOST_THREAD_BUILD_LIB=1
- -DBOOST_THREAD_DONT_USE_CHRONO=1
- -DBOOST_THREAD_NO_LIB=1
- -DBOOST_THREAD_USE_LIB=1
- -DDATE_TIME_INLINE
- -DBOOST_THREAD_DONT_USE_CHRONO
- -DBOOST_THREAD_POSIX
-)
-target_include_directories(boost-libs-system PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
-)
-target_link_libraries(boost-libs-system PUBLIC
- contrib-libs-cxxsupp
- contrib-restricted-boost
-)
-target_sources(boost-libs-system PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/system/src/error_code.cpp
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt b/contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..444ff34583
--- /dev/null
+++ b/contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt
@@ -0,0 +1,45 @@
+
+# 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(boost-libs-thread)
+target_compile_options(boost-libs-thread PRIVATE
+ -DBOOST_ATOMIC_STATIC_LINK=1
+ -DBOOST_All_STATIC_LINK=1
+ -DBOOST_CHRONO_STATIC_LINK=1
+ -DBOOST_SYSTEM_STATIC_LINK=1
+ -DBOOST_TIMER_STATIC_LINK=1
+ -DBOOST_ALL_NO_LIB=1
+ -DBOOST_ATOMIC_SOURCE
+ -DBOOST_COROUTINES_SOURCE
+ -DBOOST_DISABLE_ASSERTS
+ -DBOOST_SPIRIT_USE_PHOENIX_V3=1
+ -DBOOST_SYSTEM_NO_DEPRECATED
+ -DBOOST_THREAD_BUILD_LIB=1
+ -DBOOST_THREAD_DONT_USE_CHRONO=1
+ -DBOOST_THREAD_NO_LIB=1
+ -DBOOST_THREAD_USE_LIB=1
+ -DDATE_TIME_INLINE
+ -DBOOST_THREAD_DONT_USE_CHRONO
+ -DBOOST_THREAD_POSIX
+ -D_DARWIN_C_SOURCE=1
+)
+target_include_directories(boost-libs-thread PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
+)
+target_link_libraries(boost-libs-thread PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-boost
+ boost-libs-chrono
+ boost-libs-system
+)
+target_sources(boost-libs-thread PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/once.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/thread.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/future.cpp
+)
diff --git a/contrib/restricted/boost/libs/thread/CMakeLists.linux.txt b/contrib/restricted/boost/libs/thread/CMakeLists.linux.txt
new file mode 100644
index 0000000000..011818f0f6
--- /dev/null
+++ b/contrib/restricted/boost/libs/thread/CMakeLists.linux.txt
@@ -0,0 +1,44 @@
+
+# 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(boost-libs-thread)
+target_compile_options(boost-libs-thread PRIVATE
+ -DBOOST_ATOMIC_STATIC_LINK=1
+ -DBOOST_All_STATIC_LINK=1
+ -DBOOST_CHRONO_STATIC_LINK=1
+ -DBOOST_SYSTEM_STATIC_LINK=1
+ -DBOOST_TIMER_STATIC_LINK=1
+ -DBOOST_ALL_NO_LIB=1
+ -DBOOST_ATOMIC_SOURCE
+ -DBOOST_COROUTINES_SOURCE
+ -DBOOST_DISABLE_ASSERTS
+ -DBOOST_SPIRIT_USE_PHOENIX_V3=1
+ -DBOOST_SYSTEM_NO_DEPRECATED
+ -DBOOST_THREAD_BUILD_LIB=1
+ -DBOOST_THREAD_DONT_USE_CHRONO=1
+ -DBOOST_THREAD_NO_LIB=1
+ -DBOOST_THREAD_USE_LIB=1
+ -DDATE_TIME_INLINE
+ -DBOOST_THREAD_DONT_USE_CHRONO
+ -DBOOST_THREAD_POSIX
+)
+target_include_directories(boost-libs-thread PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
+)
+target_link_libraries(boost-libs-thread PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-boost
+ boost-libs-chrono
+ boost-libs-system
+)
+target_sources(boost-libs-thread PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/once.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/thread.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/future.cpp
+)
diff --git a/contrib/restricted/boost/libs/thread/CMakeLists.txt b/contrib/restricted/boost/libs/thread/CMakeLists.txt
index 011818f0f6..a681d385f3 100644
--- a/contrib/restricted/boost/libs/thread/CMakeLists.txt
+++ b/contrib/restricted/boost/libs/thread/CMakeLists.txt
@@ -6,39 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(boost-libs-thread)
-target_compile_options(boost-libs-thread PRIVATE
- -DBOOST_ATOMIC_STATIC_LINK=1
- -DBOOST_All_STATIC_LINK=1
- -DBOOST_CHRONO_STATIC_LINK=1
- -DBOOST_SYSTEM_STATIC_LINK=1
- -DBOOST_TIMER_STATIC_LINK=1
- -DBOOST_ALL_NO_LIB=1
- -DBOOST_ATOMIC_SOURCE
- -DBOOST_COROUTINES_SOURCE
- -DBOOST_DISABLE_ASSERTS
- -DBOOST_SPIRIT_USE_PHOENIX_V3=1
- -DBOOST_SYSTEM_NO_DEPRECATED
- -DBOOST_THREAD_BUILD_LIB=1
- -DBOOST_THREAD_DONT_USE_CHRONO=1
- -DBOOST_THREAD_NO_LIB=1
- -DBOOST_THREAD_USE_LIB=1
- -DDATE_TIME_INLINE
- -DBOOST_THREAD_DONT_USE_CHRONO
- -DBOOST_THREAD_POSIX
-)
-target_include_directories(boost-libs-thread PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef
-)
-target_link_libraries(boost-libs-thread PUBLIC
- contrib-libs-cxxsupp
- contrib-restricted-boost
- boost-libs-chrono
- boost-libs-system
-)
-target_sources(boost-libs-thread PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/once.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/thread.cpp
- ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/future.cpp
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()