aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/openssl
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
commitb4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch)
tree6a64ab25a145265287789bceed3f59e953561206 /library/cpp/openssl
parent5e837a820d5be0671fa4096a1cc1e378453e5132 (diff)
downloadydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'library/cpp/openssl')
-rw-r--r--library/cpp/openssl/holders/CMakeLists.txt12
-rw-r--r--library/cpp/openssl/init/CMakeLists.txt11
-rw-r--r--library/cpp/openssl/io/CMakeLists.txt14
-rw-r--r--library/cpp/openssl/method/CMakeLists.txt12
4 files changed, 49 insertions, 0 deletions
diff --git a/library/cpp/openssl/holders/CMakeLists.txt b/library/cpp/openssl/holders/CMakeLists.txt
new file mode 100644
index 0000000000..fa28e78956
--- /dev/null
+++ b/library/cpp/openssl/holders/CMakeLists.txt
@@ -0,0 +1,12 @@
+find_package(OpenSSL)
+
+add_library(cpp-openssl-holders)
+target_link_libraries(cpp-openssl-holders PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-holders PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/bio.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/x509_vfy.cpp
+)
diff --git a/library/cpp/openssl/init/CMakeLists.txt b/library/cpp/openssl/init/CMakeLists.txt
new file mode 100644
index 0000000000..3ec2c1ece4
--- /dev/null
+++ b/library/cpp/openssl/init/CMakeLists.txt
@@ -0,0 +1,11 @@
+find_package(OpenSSL)
+
+add_library(cpp-openssl-init)
+target_link_libraries(cpp-openssl-init PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-init PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/init/init.cpp
+)
diff --git a/library/cpp/openssl/io/CMakeLists.txt b/library/cpp/openssl/io/CMakeLists.txt
new file mode 100644
index 0000000000..7d1369237e
--- /dev/null
+++ b/library/cpp/openssl/io/CMakeLists.txt
@@ -0,0 +1,14 @@
+find_package(OpenSSL)
+
+add_library(cpp-openssl-io)
+target_link_libraries(cpp-openssl-io PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ certs
+ OpenSSL::OpenSSL
+ cpp-openssl-init
+ cpp-openssl-method
+)
+target_sources(cpp-openssl-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/io/stream.cpp
+)
diff --git a/library/cpp/openssl/method/CMakeLists.txt b/library/cpp/openssl/method/CMakeLists.txt
new file mode 100644
index 0000000000..729948fc0f
--- /dev/null
+++ b/library/cpp/openssl/method/CMakeLists.txt
@@ -0,0 +1,12 @@
+find_package(OpenSSL)
+
+add_library(cpp-openssl-method)
+target_link_libraries(cpp-openssl-method PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ cpp-openssl-holders
+)
+target_sources(cpp-openssl-method PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/method/io.cpp
+)