diff options
author | bugaevskiy <bugaevskiy@yandex-team.com> | 2022-07-26 15:38:14 +0300 |
---|---|---|
committer | bugaevskiy <bugaevskiy@yandex-team.com> | 2022-07-26 15:38:14 +0300 |
commit | 101071021304b7656f91ac8fc1cd510593fc1eba (patch) | |
tree | f491047681cc27677a9caa4d0cb754a93ad82ceb /contrib | |
parent | c0bf07f7422220a6a1dea02f3146aafa7afd1e65 (diff) | |
download | ydb-101071021304b7656f91ac8fc1cd510593fc1eba.tar.gz |
Add boost/graph stub
Diffstat (limited to 'contrib')
5 files changed, 124 insertions, 0 deletions
diff --git a/contrib/libs/hyperscan/CMakeLists.txt b/contrib/libs/hyperscan/CMakeLists.txt index a7a2cc5e5a..df09996162 100644 --- a/contrib/libs/hyperscan/CMakeLists.txt +++ b/contrib/libs/hyperscan/CMakeLists.txt @@ -20,6 +20,7 @@ target_include_directories(contrib-libs-hyperscan PRIVATE target_link_libraries(contrib-libs-hyperscan PUBLIC contrib-libs-cxxsupp contrib-restricted-boost + boost-libs-graph ) target_sources(contrib-libs-hyperscan PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c diff --git a/contrib/restricted/boost/libs/filesystem/CMakeLists.darwin.txt b/contrib/restricted/boost/libs/filesystem/CMakeLists.darwin.txt new file mode 100644 index 0000000000..56946959bf --- /dev/null +++ b/contrib/restricted/boost/libs/filesystem/CMakeLists.darwin.txt @@ -0,0 +1,48 @@ + +# 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-filesystem) +target_compile_options(boost-libs-filesystem 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 + -DBOOST_FILESYSTEM_STATIC_LINK=1 + -Wno-everything +) +target_link_libraries(boost-libs-filesystem PUBLIC + contrib-libs-cxxsupp + contrib-restricted-boost + boost-libs-system +) +target_sources(boost-libs-filesystem PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/codecvt_error_category.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/operations.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path_traits.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/portability.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/unique_path.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/utf8_codecvt_facet.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.cpp +) diff --git a/contrib/restricted/boost/libs/filesystem/CMakeLists.linux.txt b/contrib/restricted/boost/libs/filesystem/CMakeLists.linux.txt new file mode 100644 index 0000000000..a43f47ce48 --- /dev/null +++ b/contrib/restricted/boost/libs/filesystem/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. + + + +add_library(boost-libs-filesystem) +target_compile_options(boost-libs-filesystem 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_FILESYSTEM_STATIC_LINK=1 + -Wno-everything +) +target_link_libraries(boost-libs-filesystem PUBLIC + contrib-libs-cxxsupp + contrib-restricted-boost + boost-libs-system +) +target_sources(boost-libs-filesystem PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/codecvt_error_category.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/operations.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path_traits.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/portability.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/unique_path.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/utf8_codecvt_facet.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.cpp +) diff --git a/contrib/restricted/boost/libs/filesystem/CMakeLists.txt b/contrib/restricted/boost/libs/filesystem/CMakeLists.txt new file mode 100644 index 0000000000..fc7b1ee73c --- /dev/null +++ b/contrib/restricted/boost/libs/filesystem/CMakeLists.txt @@ -0,0 +1,13 @@ + +# 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. + + +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX AND NOT APPLE) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/boost/libs/graph/CMakeLists.txt b/contrib/restricted/boost/libs/graph/CMakeLists.txt new file mode 100644 index 0000000000..c12fb024c7 --- /dev/null +++ b/contrib/restricted/boost/libs/graph/CMakeLists.txt @@ -0,0 +1,15 @@ + +# 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-graph INTERFACE) +target_link_libraries(boost-libs-graph INTERFACE + contrib-libs-cxxsupp + contrib-restricted-boost + boost-libs-filesystem +) |