aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libc_compat
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 /contrib/libs/libc_compat
parent5e837a820d5be0671fa4096a1cc1e378453e5132 (diff)
downloadydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'contrib/libs/libc_compat')
-rw-r--r--contrib/libs/libc_compat/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/libs/libc_compat/CMakeLists.txt b/contrib/libs/libc_compat/CMakeLists.txt
new file mode 100644
index 0000000000..404db92abb
--- /dev/null
+++ b/contrib/libs/libc_compat/CMakeLists.txt
@@ -0,0 +1,19 @@
+add_library(contrib-libs-libc_compat)
+target_include_directories(contrib-libs-libc_compat PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/random
+)
+target_include_directories(contrib-libs-libc_compat PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/random
+)
+target_sources(contrib-libs-libc_compat PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/string.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/readpassphrase.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/explicit_bzero.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/getrandom.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/memfd_create.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/reallocarray.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcat.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcpy.c
+)