aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/digest
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
commitd32759b7eb812b4a4033cc61e1e98245544b4992 (patch)
tree22bbb3e9b46c1b55818aaf475f699ae187ce328b /library/cpp/digest
parent471e9b902d01b70b2d12146772e30528a216ee82 (diff)
downloadydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'library/cpp/digest')
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt26
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt31
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.txt28
3 files changed, 62 insertions, 23 deletions
diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c0d3fd8fdc
--- /dev/null
+++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt
@@ -0,0 +1,26 @@
+
+# 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_executable(gencrc)
+target_link_libraries(gencrc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+)
+target_sources(gencrc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp
+)
+target_link_flags(gencrc
+ PUBLIC
+ -Wl,-no_deduplicate
+ -Wl,-sdk_version,10.15
+ -fPIC
+ -fPIC
+)
+vcs_info(gencrc)
diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt
new file mode 100644
index 0000000000..4ae8cb297c
--- /dev/null
+++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt
@@ -0,0 +1,31 @@
+
+# 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_executable(gencrc)
+target_link_libraries(gencrc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-lfalloc
+ library-cpp-cpuid_check
+)
+target_sources(gencrc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp
+)
+target_link_flags(gencrc
+ PUBLIC
+ -ldl
+ -lrt
+ -Wl,--no-as-needed
+ -fPIC
+ -fPIC
+ -lpthread
+ -lrt
+ -ldl
+)
+vcs_info(gencrc)
diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt
index 4ae8cb297c..a681d385f3 100644
--- a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt
+++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt
@@ -6,26 +6,8 @@
# original buildsystem will not be accepted.
-
-add_executable(gencrc)
-target_link_libraries(gencrc PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-lfalloc
- library-cpp-cpuid_check
-)
-target_sources(gencrc PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp
-)
-target_link_flags(gencrc
- PUBLIC
- -ldl
- -lrt
- -Wl,--no-as-needed
- -fPIC
- -fPIC
- -lpthread
- -lrt
- -ldl
-)
-vcs_info(gencrc)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()