summaryrefslogtreecommitdiffstats
path: root/library/cpp/unicode
diff options
context:
space:
mode:
authordcherednik <[email protected]>2023-11-20 13:23:37 +0300
committerdcherednik <[email protected]>2023-11-20 14:34:20 +0300
commitffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6 (patch)
tree47612a33d11873a4ffb450f68a720efeb9b21cb4 /library/cpp/unicode
parent6d8d9a430dea2bfa0e6ce219a8e4f62f02fd2884 (diff)
add darwin-arm64 CMakeLists
Diffstat (limited to 'library/cpp/unicode')
-rw-r--r--library/cpp/unicode/normalization/CMakeLists.darwin-arm64.txt18
-rw-r--r--library/cpp/unicode/normalization/CMakeLists.txt2
-rw-r--r--library/cpp/unicode/punycode/CMakeLists.darwin-arm64.txt19
-rw-r--r--library/cpp/unicode/punycode/CMakeLists.txt2
-rw-r--r--library/cpp/unicode/set/CMakeLists.darwin-arm64.txt39
-rw-r--r--library/cpp/unicode/set/CMakeLists.txt2
6 files changed, 82 insertions, 0 deletions
diff --git a/library/cpp/unicode/normalization/CMakeLists.darwin-arm64.txt b/library/cpp/unicode/normalization/CMakeLists.darwin-arm64.txt
new file mode 100644
index 00000000000..faa65c7f2ba
--- /dev/null
+++ b/library/cpp/unicode/normalization/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-unicode-normalization)
+target_link_libraries(cpp-unicode-normalization PUBLIC
+ contrib-libs-cxxsupp
+)
+target_sources(cpp-unicode-normalization PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/composition.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/decomposition.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/normalization.cpp
+)
diff --git a/library/cpp/unicode/normalization/CMakeLists.txt b/library/cpp/unicode/normalization/CMakeLists.txt
index f8b31df0c11..2dce3a77fe3 100644
--- a/library/cpp/unicode/normalization/CMakeLists.txt
+++ b/library/cpp/unicode/normalization/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)
diff --git a/library/cpp/unicode/punycode/CMakeLists.darwin-arm64.txt b/library/cpp/unicode/punycode/CMakeLists.darwin-arm64.txt
new file mode 100644
index 00000000000..25c06c3bbc8
--- /dev/null
+++ b/library/cpp/unicode/punycode/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,19 @@
+
+# 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.
+
+
+find_package(IDN REQUIRED)
+
+add_library(cpp-unicode-punycode)
+target_link_libraries(cpp-unicode-punycode PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ IDN::IDN
+)
+target_sources(cpp-unicode-punycode PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/punycode/punycode.cpp
+)
diff --git a/library/cpp/unicode/punycode/CMakeLists.txt b/library/cpp/unicode/punycode/CMakeLists.txt
index f8b31df0c11..2dce3a77fe3 100644
--- a/library/cpp/unicode/punycode/CMakeLists.txt
+++ b/library/cpp/unicode/punycode/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)
diff --git a/library/cpp/unicode/set/CMakeLists.darwin-arm64.txt b/library/cpp/unicode/set/CMakeLists.darwin-arm64.txt
new file mode 100644
index 00000000000..81e3230ffed
--- /dev/null
+++ b/library/cpp/unicode/set/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,39 @@
+
+# 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.
+
+
+get_built_tool_path(
+ TOOL_enum_parser_bin
+ TOOL_enum_parser_dependency
+ tools/enum_parser/enum_parser
+ enum_parser
+)
+
+add_library(cpp-unicode-set)
+target_link_libraries(cpp-unicode-set PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-unicode-set PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/quoted_pair.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_parser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/generated/category_ranges.cpp
+)
+generate_enum_serilization(cpp-unicode-set
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.h
+ INCLUDE_HEADERS
+ library/cpp/unicode/set/unicode_set_token.h
+)
+target_ragel_lexers(cpp-unicode-set
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_lexer.rl6
+ -CG2
+)
diff --git a/library/cpp/unicode/set/CMakeLists.txt b/library/cpp/unicode/set/CMakeLists.txt
index f8b31df0c11..2dce3a77fe3 100644
--- a/library/cpp/unicode/set/CMakeLists.txt
+++ b/library/cpp/unicode/set/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)