diff options
| author | dcherednik <[email protected]> | 2023-11-20 13:23:37 +0300 |
|---|---|---|
| committer | dcherednik <[email protected]> | 2023-11-20 14:34:20 +0300 |
| commit | ffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6 (patch) | |
| tree | 47612a33d11873a4ffb450f68a720efeb9b21cb4 /contrib/libs/yaml-cpp | |
| parent | 6d8d9a430dea2bfa0e6ce219a8e4f62f02fd2884 (diff) | |
add darwin-arm64 CMakeLists
Diffstat (limited to 'contrib/libs/yaml-cpp')
| -rw-r--r-- | contrib/libs/yaml-cpp/CMakeLists.darwin-arm64.txt | 46 | ||||
| -rw-r--r-- | contrib/libs/yaml-cpp/CMakeLists.txt | 2 |
2 files changed, 48 insertions, 0 deletions
diff --git a/contrib/libs/yaml-cpp/CMakeLists.darwin-arm64.txt b/contrib/libs/yaml-cpp/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..e5b20eefab6 --- /dev/null +++ b/contrib/libs/yaml-cpp/CMakeLists.darwin-arm64.txt @@ -0,0 +1,46 @@ + +# This file was generated 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(contrib-libs-yaml-cpp) +target_include_directories(contrib-libs-yaml-cpp PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/include +) +target_link_libraries(contrib-libs-yaml-cpp PUBLIC + contrib-libs-cxxsupp +) +target_sources(contrib-libs-yaml-cpp PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/binary.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/convert.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/directives.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/emit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/emitfromevents.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/emitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/emitterstate.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/emitterutils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/exceptions.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/exp.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/memory.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/nodebuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/node.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/node_data.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/nodeevents.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/null.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/ostream_wrapper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/parse.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/parser.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/regex_yaml.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/scanner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/scanscalar.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/scantag.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/scantoken.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/simplekey.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/singledocparser.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/stream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/yaml-cpp/src/tag.cpp +) diff --git a/contrib/libs/yaml-cpp/CMakeLists.txt b/contrib/libs/yaml-cpp/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/contrib/libs/yaml-cpp/CMakeLists.txt +++ b/contrib/libs/yaml-cpp/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) |
