diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
commit | d32759b7eb812b4a4033cc61e1e98245544b4992 (patch) | |
tree | 22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib/libs/linuxvdso | |
parent | 471e9b902d01b70b2d12146772e30528a216ee82 (diff) | |
download | ydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz |
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/libs/linuxvdso')
-rw-r--r-- | contrib/libs/linuxvdso/CMakeLists.darwin.txt | 13 | ||||
-rw-r--r-- | contrib/libs/linuxvdso/CMakeLists.linux.txt | 16 | ||||
-rw-r--r-- | contrib/libs/linuxvdso/CMakeLists.txt | 13 | ||||
-rw-r--r-- | contrib/libs/linuxvdso/original/CMakeLists.linux.txt | 14 | ||||
-rw-r--r-- | contrib/libs/linuxvdso/original/CMakeLists.txt | 9 |
5 files changed, 51 insertions, 14 deletions
diff --git a/contrib/libs/linuxvdso/CMakeLists.darwin.txt b/contrib/libs/linuxvdso/CMakeLists.darwin.txt new file mode 100644 index 0000000000..6a5ea8b2fa --- /dev/null +++ b/contrib/libs/linuxvdso/CMakeLists.darwin.txt @@ -0,0 +1,13 @@ + +# 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_library(contrib-libs-linuxvdso) +target_sources(contrib-libs-linuxvdso PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/fake.cpp +) diff --git a/contrib/libs/linuxvdso/CMakeLists.linux.txt b/contrib/libs/linuxvdso/CMakeLists.linux.txt new file mode 100644 index 0000000000..1a9a6ed70c --- /dev/null +++ b/contrib/libs/linuxvdso/CMakeLists.linux.txt @@ -0,0 +1,16 @@ + +# 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_library(contrib-libs-linuxvdso) +target_link_libraries(contrib-libs-linuxvdso PUBLIC + libs-linuxvdso-original +) +target_sources(contrib-libs-linuxvdso PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/interface.cpp +) diff --git a/contrib/libs/linuxvdso/CMakeLists.txt b/contrib/libs/linuxvdso/CMakeLists.txt index 1a9a6ed70c..a681d385f3 100644 --- a/contrib/libs/linuxvdso/CMakeLists.txt +++ b/contrib/libs/linuxvdso/CMakeLists.txt @@ -6,11 +6,8 @@ # original buildsystem will not be accepted. - -add_library(contrib-libs-linuxvdso) -target_link_libraries(contrib-libs-linuxvdso PUBLIC - libs-linuxvdso-original -) -target_sources(contrib-libs-linuxvdso PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/interface.cpp -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/libs/linuxvdso/original/CMakeLists.linux.txt b/contrib/libs/linuxvdso/original/CMakeLists.linux.txt new file mode 100644 index 0000000000..30018258b4 --- /dev/null +++ b/contrib/libs/linuxvdso/original/CMakeLists.linux.txt @@ -0,0 +1,14 @@ + +# 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_library(libs-linuxvdso-original) +target_sources(libs-linuxvdso-original PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/original/vdso_support.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/original/elf_mem_image.cc +) diff --git a/contrib/libs/linuxvdso/original/CMakeLists.txt b/contrib/libs/linuxvdso/original/CMakeLists.txt index 30018258b4..c031ddb850 100644 --- a/contrib/libs/linuxvdso/original/CMakeLists.txt +++ b/contrib/libs/linuxvdso/original/CMakeLists.txt @@ -6,9 +6,6 @@ # original buildsystem will not be accepted. - -add_library(libs-linuxvdso-original) -target_sources(libs-linuxvdso-original PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/original/vdso_support.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/original/elf_mem_image.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() |