diff options
author | thegeorg <[email protected]> | 2022-12-15 19:25:15 +0300 |
---|---|---|
committer | thegeorg <[email protected]> | 2022-12-15 19:25:15 +0300 |
commit | 0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch) | |
tree | 4d8a246db168f7beaafcd06d486c034115c2123d /contrib/restricted/boost/program_options | |
parent | d1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff) |
Sync linux-headers instead of using system ones
Diffstat (limited to 'contrib/restricted/boost/program_options')
4 files changed, 144 insertions, 37 deletions
diff --git a/contrib/restricted/boost/program_options/CMakeLists.darwin.txt b/contrib/restricted/boost/program_options/CMakeLists.darwin.txt new file mode 100644 index 00000000000..e8458ebf7d0 --- /dev/null +++ b/contrib/restricted/boost/program_options/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(restricted-boost-program_options) +target_compile_options(restricted-boost-program_options PRIVATE + -Wno-everything +) +target_include_directories(restricted-boost-program_options PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/include +) +target_link_libraries(restricted-boost-program_options PUBLIC + contrib-libs-cxxsupp + restricted-boost-any + restricted-boost-bind + restricted-boost-config + restricted-boost-core + restricted-boost-detail + restricted-boost-function + restricted-boost-iterator + restricted-boost-lexical_cast + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tokenizer + restricted-boost-type_traits +) +target_sources(restricted-boost-program_options PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/cmdline.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/config_file.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/convert.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/options_description.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/parsers.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/positional_options.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/split.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/utf8_codecvt_facet.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/value_semantic.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/variables_map.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/winmain.cpp +) diff --git a/contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..f1386f26b36 --- /dev/null +++ b/contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt @@ -0,0 +1,46 @@ + +# 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-program_options) +target_compile_options(restricted-boost-program_options PRIVATE + -Wno-everything +) +target_include_directories(restricted-boost-program_options PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/include +) +target_link_libraries(restricted-boost-program_options PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + restricted-boost-any + restricted-boost-bind + restricted-boost-config + restricted-boost-core + restricted-boost-detail + restricted-boost-function + restricted-boost-iterator + restricted-boost-lexical_cast + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tokenizer + restricted-boost-type_traits +) +target_sources(restricted-boost-program_options PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/cmdline.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/config_file.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/convert.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/options_description.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/parsers.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/positional_options.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/split.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/utf8_codecvt_facet.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/value_semantic.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/variables_map.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/winmain.cpp +) diff --git a/contrib/restricted/boost/program_options/CMakeLists.linux.txt b/contrib/restricted/boost/program_options/CMakeLists.linux.txt new file mode 100644 index 00000000000..f1386f26b36 --- /dev/null +++ b/contrib/restricted/boost/program_options/CMakeLists.linux.txt @@ -0,0 +1,46 @@ + +# 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-program_options) +target_compile_options(restricted-boost-program_options PRIVATE + -Wno-everything +) +target_include_directories(restricted-boost-program_options PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/include +) +target_link_libraries(restricted-boost-program_options PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + restricted-boost-any + restricted-boost-bind + restricted-boost-config + restricted-boost-core + restricted-boost-detail + restricted-boost-function + restricted-boost-iterator + restricted-boost-lexical_cast + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tokenizer + restricted-boost-type_traits +) +target_sources(restricted-boost-program_options PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/cmdline.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/config_file.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/convert.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/options_description.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/parsers.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/positional_options.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/split.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/utf8_codecvt_facet.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/value_semantic.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/variables_map.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/winmain.cpp +) diff --git a/contrib/restricted/boost/program_options/CMakeLists.txt b/contrib/restricted/boost/program_options/CMakeLists.txt index e8458ebf7d0..3e0811fb22e 100644 --- a/contrib/restricted/boost/program_options/CMakeLists.txt +++ b/contrib/restricted/boost/program_options/CMakeLists.txt @@ -6,40 +6,10 @@ # original buildsystem will not be accepted. - -add_library(restricted-boost-program_options) -target_compile_options(restricted-boost-program_options PRIVATE - -Wno-everything -) -target_include_directories(restricted-boost-program_options PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/include -) -target_link_libraries(restricted-boost-program_options PUBLIC - contrib-libs-cxxsupp - restricted-boost-any - restricted-boost-bind - restricted-boost-config - restricted-boost-core - restricted-boost-detail - restricted-boost-function - restricted-boost-iterator - restricted-boost-lexical_cast - restricted-boost-smart_ptr - restricted-boost-static_assert - restricted-boost-throw_exception - restricted-boost-tokenizer - restricted-boost-type_traits -) -target_sources(restricted-boost-program_options PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/cmdline.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/config_file.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/convert.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/options_description.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/parsers.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/positional_options.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/split.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/utf8_codecvt_facet.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/value_semantic.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/variables_map.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/winmain.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() |