summaryrefslogtreecommitdiffstats
path: root/library/cpp/http
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/http
parent6d8d9a430dea2bfa0e6ce219a8e4f62f02fd2884 (diff)
add darwin-arm64 CMakeLists
Diffstat (limited to 'library/cpp/http')
-rw-r--r--library/cpp/http/fetch/CMakeLists.darwin-arm64.txt45
-rw-r--r--library/cpp/http/fetch/CMakeLists.txt2
-rw-r--r--library/cpp/http/io/CMakeLists.darwin-arm64.txt24
-rw-r--r--library/cpp/http/io/CMakeLists.txt2
-rw-r--r--library/cpp/http/misc/CMakeLists.darwin-arm64.txt35
-rw-r--r--library/cpp/http/misc/CMakeLists.txt2
-rw-r--r--library/cpp/http/server/CMakeLists.darwin-arm64.txt25
-rw-r--r--library/cpp/http/server/CMakeLists.txt2
-rw-r--r--library/cpp/http/simple/CMakeLists.darwin-arm64.txt21
-rw-r--r--library/cpp/http/simple/CMakeLists.txt2
10 files changed, 160 insertions, 0 deletions
diff --git a/library/cpp/http/fetch/CMakeLists.darwin-arm64.txt b/library/cpp/http/fetch/CMakeLists.darwin-arm64.txt
new file mode 100644
index 00000000000..553e7fc0354
--- /dev/null
+++ b/library/cpp/http/fetch/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,45 @@
+
+# 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-http-fetch)
+target_link_libraries(cpp-http-fetch PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zlib
+ library-cpp-charset
+ cpp-digest-md5
+ cpp-http-misc
+ library-cpp-logger
+ cpp-mime-types
+ library-cpp-uri
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-http-fetch PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp
+)
+generate_enum_serilization(cpp-http-fetch
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
+ INCLUDE_HEADERS
+ library/cpp/http/fetch/httpheader.h
+)
+target_ragel_lexers(cpp-http-fetch
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6
+ -CG1
+)
diff --git a/library/cpp/http/fetch/CMakeLists.txt b/library/cpp/http/fetch/CMakeLists.txt
index f8b31df0c11..2dce3a77fe3 100644
--- a/library/cpp/http/fetch/CMakeLists.txt
+++ b/library/cpp/http/fetch/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/http/io/CMakeLists.darwin-arm64.txt b/library/cpp/http/io/CMakeLists.darwin-arm64.txt
new file mode 100644
index 00000000000..1f1eab359c5
--- /dev/null
+++ b/library/cpp/http/io/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,24 @@
+
+# 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-http-io)
+target_link_libraries(cpp-http-io PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-blockcodecs
+ cpp-streams-brotli
+ cpp-streams-bzip2
+ cpp-streams-lzma
+)
+target_sources(cpp-http-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/chunk.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/compression.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/headers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/stream.cpp
+)
diff --git a/library/cpp/http/io/CMakeLists.txt b/library/cpp/http/io/CMakeLists.txt
index f8b31df0c11..2dce3a77fe3 100644
--- a/library/cpp/http/io/CMakeLists.txt
+++ b/library/cpp/http/io/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/http/misc/CMakeLists.darwin-arm64.txt b/library/cpp/http/misc/CMakeLists.darwin-arm64.txt
new file mode 100644
index 00000000000..c909854a9a7
--- /dev/null
+++ b/library/cpp/http/misc/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,35 @@
+
+# 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-http-misc)
+target_link_libraries(cpp-http-misc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-case_insensitive_string
+ library-cpp-cgiparam
+ cpp-digest-lower_case
+)
+target_sources(cpp-http-misc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpdate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpreqdata.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/parsed_request.cpp
+)
+generate_enum_serilization(cpp-http-misc
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.h
+ INCLUDE_HEADERS
+ library/cpp/http/misc/httpcodes.h
+)
diff --git a/library/cpp/http/misc/CMakeLists.txt b/library/cpp/http/misc/CMakeLists.txt
index f8b31df0c11..2dce3a77fe3 100644
--- a/library/cpp/http/misc/CMakeLists.txt
+++ b/library/cpp/http/misc/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/http/server/CMakeLists.darwin-arm64.txt b/library/cpp/http/server/CMakeLists.darwin-arm64.txt
new file mode 100644
index 00000000000..9d8b2182bab
--- /dev/null
+++ b/library/cpp/http/server/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,25 @@
+
+# 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-http-server)
+target_link_libraries(cpp-http-server PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-io
+ cpp-threading-equeue
+ cpp-deprecated-atomic
+)
+target_sources(cpp-http-server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/conn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http_ex.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/options.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/response.cpp
+)
diff --git a/library/cpp/http/server/CMakeLists.txt b/library/cpp/http/server/CMakeLists.txt
index f8b31df0c11..2dce3a77fe3 100644
--- a/library/cpp/http/server/CMakeLists.txt
+++ b/library/cpp/http/server/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/http/simple/CMakeLists.darwin-arm64.txt b/library/cpp/http/simple/CMakeLists.darwin-arm64.txt
new file mode 100644
index 00000000000..68c2fb64a3b
--- /dev/null
+++ b/library/cpp/http/simple/CMakeLists.darwin-arm64.txt
@@ -0,0 +1,21 @@
+
+# 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-http-simple)
+target_link_libraries(cpp-http-simple PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-io
+ cpp-openssl-io
+ cpp-string_utils-url
+ library-cpp-uri
+)
+target_sources(cpp-http-simple PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/simple/http_client.cpp
+)
diff --git a/library/cpp/http/simple/CMakeLists.txt b/library/cpp/http/simple/CMakeLists.txt
index f8b31df0c11..2dce3a77fe3 100644
--- a/library/cpp/http/simple/CMakeLists.txt
+++ b/library/cpp/http/simple/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)