diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-06 18:33:33 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-06 18:33:33 +0300 |
commit | 40b71ca5f57840f038abe9fd4f0615f92b8dece8 (patch) | |
tree | 5a257c817c11203ee636535cace605aecca3c282 | |
parent | 61b49a878a33977897d44f72118d6791ac3794fa (diff) | |
download | ydb-40b71ca5f57840f038abe9fd4f0615f92b8dece8.tar.gz |
intermediate changes
ref:e8092279aeb152c7934ef72249a90434dbbe4318
552 files changed, 4907 insertions, 5729 deletions
diff --git a/build/rules/autocheck.blacklist b/build/rules/autocheck.blacklist index a92611464f..f410bfddac 100644 --- a/build/rules/autocheck.blacklist +++ b/build/rules/autocheck.blacklist @@ -436,3 +436,18 @@ noc/traffic/junk/dnsmanager/backend noc/traffic/junk/dnsmanager/frontend diehard/legacy/backend noc/traffic/junk/heat-map +portal/frontend/logo-admin-back +portal/frontend/logo-admin-front +yandex360/frontend +taxi/github/infra-cfg-logfeller +data-ui/cloud-console-terraform +data-ui/cloud-l7 +taxi/github/fleet-autotests +marketing/patterns/api +data-ui/cloud-docfarm-api +data-ui/tracker-ios +taxi/frontend/packages/amber-blocks +portal/frontend/fakestat +taxi/dmp/ssas-http +data-ui/cloud-deploy +market/front/libs/jest-allure-report diff --git a/build/ymake.core.conf b/build/ymake.core.conf index b93138364e..577eaabfc9 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -1707,7 +1707,7 @@ module _BASE_PROGRAM: _LINK_UNIT { CPP_PROGRAM_SEM=add_executable $MODDIR $REALPRJNAME ${hide:TARGET} ${hide:AUTO_INPUT} \ && vcs_info \ - && target_link_flags PUBLIC $LDFLAGS $LDFLAGS_GLOBAL $OBJADDE_LIB $OBJADDE \ + && target_link_options PRIVATE $LDFLAGS $OBJADDE_LIB $OBJADDE \ && target_include_directories PRIVATE $_C__INCLUDE_OWNED \ && target_compile_options PRIVATE $USER_CFLAGS $USER_CXXFLAGS ### @usage: PROGRAM([progname]) @@ -2471,6 +2471,7 @@ CPP_LIBRARY_SEM=add_library ${MODDIR} $REALPRJNAME ${hide:TARGET} ${hide:AUTO_IN && target_include_directories PRIVATE $_C__INCLUDE_OWNED \ && target_compile_options PRIVATE $USER_CFLAGS $USER_CXXFLAGS \ && target_compile_options PUBLIC $USER_CFLAGS_GLOBAL_RAW $USER_CXXFLAGS_GLOBAL_RAW \ + && target_link_options INTERFACE $LDFLAGS_GLOBAL_RAW \ && add_language C && add_language CXX CPP_OBJ_LIBRARY_SEM=add_global_library_for ${MODDIR} ${suf=.global:REALPRJNAME} $REALPRJNAME ${hide:GLOBAL_TARGET} ${hide:AUTO_INPUT} \ && target_include_directories PUBLIC $_C__INCLUDE_GLOBAL \ diff --git a/contrib/libs/cctz/CMakeLists.darwin.txt b/contrib/libs/cctz/CMakeLists.darwin.txt new file mode 100644 index 0000000000..67cf4379ad --- /dev/null +++ b/contrib/libs/cctz/CMakeLists.darwin.txt @@ -0,0 +1,35 @@ + +# 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-cctz) +target_include_directories(contrib-libs-cctz PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include +) +target_include_directories(contrib-libs-cctz PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include +) +target_link_libraries(contrib-libs-cctz PUBLIC + contrib-libs-cxxsupp +) +target_link_options(contrib-libs-cctz INTERFACE + -framework + CoreFoundation +) +target_sources(contrib-libs-cctz PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/civil_time_detail.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_fixed.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_format.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_if.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_impl.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_info.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_libc.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_lookup.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_posix.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/zone_info_source.cc +) diff --git a/contrib/libs/cctz/CMakeLists.linux.txt b/contrib/libs/cctz/CMakeLists.linux.txt new file mode 100644 index 0000000000..379577bfa4 --- /dev/null +++ b/contrib/libs/cctz/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_library(contrib-libs-cctz) +target_include_directories(contrib-libs-cctz PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include +) +target_include_directories(contrib-libs-cctz PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include +) +target_link_libraries(contrib-libs-cctz PUBLIC + contrib-libs-cxxsupp +) +target_sources(contrib-libs-cctz PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/civil_time_detail.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_fixed.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_format.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_if.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_impl.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_info.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_libc.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_lookup.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_posix.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/zone_info_source.cc +) diff --git a/contrib/libs/cctz/CMakeLists.txt b/contrib/libs/cctz/CMakeLists.txt index 379577bfa4..a681d385f3 100644 --- a/contrib/libs/cctz/CMakeLists.txt +++ b/contrib/libs/cctz/CMakeLists.txt @@ -6,26 +6,8 @@ # original buildsystem will not be accepted. - -add_library(contrib-libs-cctz) -target_include_directories(contrib-libs-cctz PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include -) -target_include_directories(contrib-libs-cctz PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/include -) -target_link_libraries(contrib-libs-cctz PUBLIC - contrib-libs-cxxsupp -) -target_sources(contrib-libs-cctz PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/civil_time_detail.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_fixed.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_format.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_if.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_impl.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_info.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_libc.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_lookup.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/time_zone_posix.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/cctz/src/zone_info_source.cc -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt index 5401fb00e9..165f5fd495 100644 --- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt +++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt @@ -19,6 +19,12 @@ target_link_libraries(llvm-tblgen PUBLIC llvm12-lib-TableGen utils-TableGen-GlobalISel ) +target_link_options(llvm-tblgen PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(llvm-tblgen PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmMatcherEmitter.cpp ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterEmitter.cpp @@ -73,11 +79,4 @@ target_sources(llvm-tblgen PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86ModRMFilters.cpp ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86RecognizableInstr.cpp ) -target_link_flags(llvm-tblgen - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(llvm-tblgen) diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt index 93bbea30a1..875a0af01f 100644 --- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt +++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(llvm-tblgen PUBLIC llvm12-lib-TableGen utils-TableGen-GlobalISel ) +target_link_options(llvm-tblgen PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(llvm-tblgen PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmMatcherEmitter.cpp ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterEmitter.cpp @@ -74,15 +84,4 @@ target_sources(llvm-tblgen PRIVATE ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86ModRMFilters.cpp ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86RecognizableInstr.cpp ) -target_link_flags(llvm-tblgen - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(llvm-tblgen) diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt new file mode 100644 index 0000000000..10b97eb4f9 --- /dev/null +++ b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt @@ -0,0 +1,71 @@ + +# 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(restricted-aws-aws-c-common) +target_include_directories(restricted-aws-aws-c-common PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/include +) +target_include_directories(restricted-aws-aws-c-common PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/include +) +target_link_options(restricted-aws-aws-c-common INTERFACE + -framework + CoreFoundation +) +target_sources(restricted-aws-aws-c-common PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator_sba.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/array_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/assert.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/byte_buf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/codegen.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/command_line_parser.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/common.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/condition_variable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/date_time.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/device_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/encoding.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/error.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/fifo_cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/hash_table.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lifo_cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/linked_hash_table.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_channel.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_formatter.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_writer.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/logging.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lru_cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/math.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/memtrace.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/priority_queue.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/process_common.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/ref_count.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/resource_name.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/ring_buffer.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/statistics.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/string.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/task_scheduler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/uuid.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/xml_parser.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/asm/cpuid.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/cpuid.c +) diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt new file mode 100644 index 0000000000..a38629a11e --- /dev/null +++ b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt @@ -0,0 +1,67 @@ + +# 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(restricted-aws-aws-c-common) +target_include_directories(restricted-aws-aws-c-common PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/include +) +target_include_directories(restricted-aws-aws-c-common PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/include +) +target_sources(restricted-aws-aws-c-common PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator_sba.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/array_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/assert.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/byte_buf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/codegen.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/command_line_parser.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/common.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/condition_variable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/date_time.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/device_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/encoding.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/error.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/fifo_cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/hash_table.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lifo_cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/linked_hash_table.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_channel.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_formatter.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_writer.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/logging.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lru_cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/math.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/memtrace.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/priority_queue.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/process_common.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/ref_count.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/resource_name.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/ring_buffer.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/statistics.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/string.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/task_scheduler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/uuid.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/xml_parser.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/asm/cpuid.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/cpuid.c +) diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.txt index a38629a11e..a681d385f3 100644 --- a/contrib/restricted/aws/aws-c-common/CMakeLists.txt +++ b/contrib/restricted/aws/aws-c-common/CMakeLists.txt @@ -6,62 +6,8 @@ # original buildsystem will not be accepted. - -add_library(restricted-aws-aws-c-common) -target_include_directories(restricted-aws-aws-c-common PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/include -) -target_include_directories(restricted-aws-aws-c-common PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/include -) -target_sources(restricted-aws-aws-c-common PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator_sba.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/array_list.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/assert.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/byte_buf.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/cache.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/codegen.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/command_line_parser.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/common.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/condition_variable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/date_time.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/device_random.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/encoding.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/error.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/fifo_cache.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/hash_table.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lifo_cache.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/linked_hash_table.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_channel.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_formatter.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_writer.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/logging.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lru_cache.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/math.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/memtrace.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/priority_queue.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/process_common.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/ref_count.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/resource_name.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/ring_buffer.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/statistics.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/string.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/task_scheduler.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/uuid.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/xml_parser.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/asm/cpuid.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/cpuid.c -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/tools/protoc/bin/CMakeLists.darwin.txt b/contrib/tools/protoc/bin/CMakeLists.darwin.txt index 00c5ae2afa..81fe0970e1 100644 --- a/contrib/tools/protoc/bin/CMakeLists.darwin.txt +++ b/contrib/tools/protoc/bin/CMakeLists.darwin.txt @@ -14,14 +14,13 @@ target_link_libraries(protoc PUBLIC library-cpp-cpuid_check contrib-libs-protoc ) -target_sources(protoc PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc -) -target_link_flags(protoc - PUBLIC +target_link_options(protoc PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC ) +target_sources(protoc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc +) vcs_info(protoc) diff --git a/contrib/tools/protoc/bin/CMakeLists.linux.txt b/contrib/tools/protoc/bin/CMakeLists.linux.txt index d0e1886d1e..59419fb969 100644 --- a/contrib/tools/protoc/bin/CMakeLists.linux.txt +++ b/contrib/tools/protoc/bin/CMakeLists.linux.txt @@ -15,11 +15,7 @@ target_link_libraries(protoc PUBLIC library-cpp-cpuid_check contrib-libs-protoc ) -target_sources(protoc PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc -) -target_link_flags(protoc - PUBLIC +target_link_options(protoc PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -29,4 +25,7 @@ target_link_flags(protoc -lrt -ldl ) +target_sources(protoc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc +) vcs_info(protoc) diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.darwin.txt b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.darwin.txt index c86c30114f..3f6b3edfd3 100644 --- a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.darwin.txt +++ b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.darwin.txt @@ -14,14 +14,13 @@ target_link_libraries(cpp_styleguide PUBLIC library-cpp-cpuid_check contrib-libs-protoc ) -target_sources(cpp_styleguide PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp -) -target_link_flags(cpp_styleguide - PUBLIC +target_link_options(cpp_styleguide PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC ) +target_sources(cpp_styleguide PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp +) vcs_info(cpp_styleguide) diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.linux.txt b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.linux.txt index f7cbff28a2..84ec725be3 100644 --- a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.linux.txt +++ b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.linux.txt @@ -15,11 +15,7 @@ target_link_libraries(cpp_styleguide PUBLIC library-cpp-cpuid_check contrib-libs-protoc ) -target_sources(cpp_styleguide PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp -) -target_link_flags(cpp_styleguide - PUBLIC +target_link_options(cpp_styleguide PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -29,4 +25,7 @@ target_link_flags(cpp_styleguide -lrt -ldl ) +target_sources(cpp_styleguide PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp +) vcs_info(cpp_styleguide) diff --git a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.darwin.txt b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.darwin.txt index 9af28345e4..340c4a561e 100644 --- a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.darwin.txt +++ b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.darwin.txt @@ -21,14 +21,13 @@ target_link_libraries(grpc_cpp PUBLIC library-cpp-cpuid_check src-compiler-grpc_plugin_support ) -target_sources(grpc_cpp PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/src/compiler/cpp_plugin.cc -) -target_link_flags(grpc_cpp - PUBLIC +target_link_options(grpc_cpp PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC ) +target_sources(grpc_cpp PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/src/compiler/cpp_plugin.cc +) vcs_info(grpc_cpp) diff --git a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.linux.txt b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.linux.txt index ea5b708509..e93850280e 100644 --- a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.linux.txt +++ b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.linux.txt @@ -22,11 +22,7 @@ target_link_libraries(grpc_cpp PUBLIC library-cpp-cpuid_check src-compiler-grpc_plugin_support ) -target_sources(grpc_cpp PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/src/compiler/cpp_plugin.cc -) -target_link_flags(grpc_cpp - PUBLIC +target_link_options(grpc_cpp PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -36,4 +32,7 @@ target_link_flags(grpc_cpp -lrt -ldl ) +target_sources(grpc_cpp PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/src/compiler/cpp_plugin.cc +) vcs_info(grpc_cpp) diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt index c0d3fd8fdc..a99f813ab9 100644 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt @@ -13,14 +13,13 @@ target_link_libraries(gencrc PUBLIC 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 +target_link_options(gencrc PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC ) +target_sources(gencrc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp +) 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 index 4ae8cb297c..c1a455ac5b 100644 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt @@ -14,11 +14,7 @@ target_link_libraries(gencrc PUBLIC 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 +target_link_options(gencrc PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -28,4 +24,7 @@ target_link_flags(gencrc -lrt -ldl ) +target_sources(gencrc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp +) vcs_info(gencrc) diff --git a/tools/enum_parser/enum_parser/bin/CMakeLists.darwin.txt b/tools/enum_parser/enum_parser/bin/CMakeLists.darwin.txt index 7ad865307f..921141a467 100644 --- a/tools/enum_parser/enum_parser/bin/CMakeLists.darwin.txt +++ b/tools/enum_parser/enum_parser/bin/CMakeLists.darwin.txt @@ -15,14 +15,13 @@ target_link_libraries(enum_parser PUBLIC cpp-getopt-small tools-enum_parser-parse_enum ) -target_sources(enum_parser PRIVATE - ${CMAKE_SOURCE_DIR}/tools/enum_parser/enum_parser/main.cpp -) -target_link_flags(enum_parser - PUBLIC +target_link_options(enum_parser PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC ) +target_sources(enum_parser PRIVATE + ${CMAKE_SOURCE_DIR}/tools/enum_parser/enum_parser/main.cpp +) vcs_info(enum_parser) diff --git a/tools/enum_parser/enum_parser/bin/CMakeLists.linux.txt b/tools/enum_parser/enum_parser/bin/CMakeLists.linux.txt index 322b89ac63..92e953f543 100644 --- a/tools/enum_parser/enum_parser/bin/CMakeLists.linux.txt +++ b/tools/enum_parser/enum_parser/bin/CMakeLists.linux.txt @@ -16,11 +16,7 @@ target_link_libraries(enum_parser PUBLIC cpp-getopt-small tools-enum_parser-parse_enum ) -target_sources(enum_parser PRIVATE - ${CMAKE_SOURCE_DIR}/tools/enum_parser/enum_parser/main.cpp -) -target_link_flags(enum_parser - PUBLIC +target_link_options(enum_parser PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -30,4 +26,7 @@ target_link_flags(enum_parser -lrt -ldl ) +target_sources(enum_parser PRIVATE + ${CMAKE_SOURCE_DIR}/tools/enum_parser/enum_parser/main.cpp +) vcs_info(enum_parser) diff --git a/tools/rescompiler/bin/CMakeLists.darwin.txt b/tools/rescompiler/bin/CMakeLists.darwin.txt index a0b217f764..b3a00b437d 100644 --- a/tools/rescompiler/bin/CMakeLists.darwin.txt +++ b/tools/rescompiler/bin/CMakeLists.darwin.txt @@ -14,14 +14,13 @@ target_link_libraries(rescompiler PUBLIC library-cpp-cpuid_check library-cpp-resource ) -target_sources(rescompiler PRIVATE - ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp -) -target_link_flags(rescompiler - PUBLIC +target_link_options(rescompiler PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC ) +target_sources(rescompiler PRIVATE + ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp +) vcs_info(rescompiler) diff --git a/tools/rescompiler/bin/CMakeLists.linux.txt b/tools/rescompiler/bin/CMakeLists.linux.txt index 1e812927a1..970f878c13 100644 --- a/tools/rescompiler/bin/CMakeLists.linux.txt +++ b/tools/rescompiler/bin/CMakeLists.linux.txt @@ -15,11 +15,7 @@ target_link_libraries(rescompiler PUBLIC library-cpp-cpuid_check library-cpp-resource ) -target_sources(rescompiler PRIVATE - ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp -) -target_link_flags(rescompiler - PUBLIC +target_link_options(rescompiler PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -29,4 +25,7 @@ target_link_flags(rescompiler -lrt -ldl ) +target_sources(rescompiler PRIVATE + ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp +) vcs_info(rescompiler) diff --git a/ydb/apps/ydb/CMakeLists.darwin.txt b/ydb/apps/ydb/CMakeLists.darwin.txt index 546de8a49a..9b11728efe 100644 --- a/ydb/apps/ydb/CMakeLists.darwin.txt +++ b/ydb/apps/ydb/CMakeLists.darwin.txt @@ -14,11 +14,7 @@ target_link_libraries(ydb PUBLIC library-cpp-cpuid_check commands ) -target_sources(ydb PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/apps/ydb/main.cpp -) -target_link_flags(ydb - PUBLIC +target_link_options(ydb PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC @@ -26,4 +22,7 @@ target_link_flags(ydb -framework CoreFoundation ) +target_sources(ydb PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/apps/ydb/main.cpp +) vcs_info(ydb) diff --git a/ydb/apps/ydb/CMakeLists.linux.txt b/ydb/apps/ydb/CMakeLists.linux.txt index bbe8244bd7..c33fe8a036 100644 --- a/ydb/apps/ydb/CMakeLists.linux.txt +++ b/ydb/apps/ydb/CMakeLists.linux.txt @@ -15,11 +15,7 @@ target_link_libraries(ydb PUBLIC library-cpp-cpuid_check commands ) -target_sources(ydb PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/apps/ydb/main.cpp -) -target_link_flags(ydb - PUBLIC +target_link_options(ydb PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -29,4 +25,7 @@ target_link_flags(ydb -lrt -ldl ) +target_sources(ydb PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/apps/ydb/main.cpp +) vcs_info(ydb) diff --git a/ydb/apps/ydbd/CMakeLists.darwin.txt b/ydb/apps/ydbd/CMakeLists.darwin.txt index f78e08311e..6f946488ae 100644 --- a/ydb/apps/ydbd/CMakeLists.darwin.txt +++ b/ydb/apps/ydbd/CMakeLists.darwin.txt @@ -49,20 +49,17 @@ target_link_libraries(ydbd PUBLIC yson2_udf dsv_udf ) -target_sources(ydbd PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/export.cpp - ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/sqs.cpp - ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/main.cpp -) -target_link_flags(ydbd - PUBLIC +target_link_options(ydbd PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC -framework CoreFoundation - -framework - CoreFoundation +) +target_sources(ydbd PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/export.cpp + ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/sqs.cpp + ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/main.cpp ) vcs_info(ydbd) diff --git a/ydb/apps/ydbd/CMakeLists.linux.txt b/ydb/apps/ydbd/CMakeLists.linux.txt index 7c35037224..0709e2db54 100644 --- a/ydb/apps/ydbd/CMakeLists.linux.txt +++ b/ydb/apps/ydbd/CMakeLists.linux.txt @@ -50,13 +50,7 @@ target_link_libraries(ydbd PUBLIC yson2_udf dsv_udf ) -target_sources(ydbd PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/export.cpp - ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/sqs.cpp - ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/main.cpp -) -target_link_flags(ydbd - PUBLIC +target_link_options(ydbd PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -66,4 +60,9 @@ target_link_flags(ydbd -lrt -ldl ) +target_sources(ydbd PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/export.cpp + ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/sqs.cpp + ${CMAKE_SOURCE_DIR}/ydb/apps/ydbd/main.cpp +) vcs_info(ydbd) diff --git a/ydb/core/actorlib_impl/ut/CMakeLists.darwin.txt b/ydb/core/actorlib_impl/ut/CMakeLists.darwin.txt index 3e59cd3c8d..f720b5a034 100644 --- a/ydb/core/actorlib_impl/ut/CMakeLists.darwin.txt +++ b/ydb/core/actorlib_impl/ut/CMakeLists.darwin.txt @@ -27,6 +27,14 @@ target_link_libraries(ydb-core-actorlib_impl-ut PUBLIC core-testlib-actors core-testlib-basics ) +target_link_options(ydb-core-actorlib_impl-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-actorlib_impl-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/actorlib_impl/actor_activity_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/actorlib_impl/actor_bootstrapped_ut.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-actorlib_impl-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-actorlib_impl-ut) diff --git a/ydb/core/actorlib_impl/ut/CMakeLists.linux.txt b/ydb/core/actorlib_impl/ut/CMakeLists.linux.txt index 450a1866ce..37a94de841 100644 --- a/ydb/core/actorlib_impl/ut/CMakeLists.linux.txt +++ b/ydb/core/actorlib_impl/ut/CMakeLists.linux.txt @@ -28,6 +28,16 @@ target_link_libraries(ydb-core-actorlib_impl-ut PUBLIC core-testlib-actors core-testlib-basics ) +target_link_options(ydb-core-actorlib_impl-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-actorlib_impl-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/actorlib_impl/actor_activity_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/actorlib_impl/actor_bootstrapped_ut.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-actorlib_impl-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-actorlib_impl-ut) diff --git a/ydb/core/base/ut/CMakeLists.darwin.txt b/ydb/core/base/ut/CMakeLists.darwin.txt index 390284e3d2..d4554fcf05 100644 --- a/ydb/core/base/ut/CMakeLists.darwin.txt +++ b/ydb/core/base/ut/CMakeLists.darwin.txt @@ -20,6 +20,14 @@ target_link_libraries(ydb-core-base-ut PUBLIC library-cpp-getopt library-cpp-svnversion ) +target_link_options(ydb-core-base-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-base-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/base/blobstorage_grouptype_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/base/localdb_ut.cpp @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-base-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-base-ut) diff --git a/ydb/core/base/ut/CMakeLists.linux.txt b/ydb/core/base/ut/CMakeLists.linux.txt index 302dc9eedd..c3c3fbb83d 100644 --- a/ydb/core/base/ut/CMakeLists.linux.txt +++ b/ydb/core/base/ut/CMakeLists.linux.txt @@ -21,6 +21,16 @@ target_link_libraries(ydb-core-base-ut PUBLIC library-cpp-getopt library-cpp-svnversion ) +target_link_options(ydb-core-base-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-base-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/base/blobstorage_grouptype_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/base/localdb_ut.cpp @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-base-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-base-ut) diff --git a/ydb/core/blobstorage/backpressure/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/backpressure/ut/CMakeLists.darwin.txt index 5870fc57cc..b61c55f5d8 100644 --- a/ydb/core/blobstorage/backpressure/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/backpressure/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-blobstorage-backpressure-ut PUBLIC ydb-core-base ydb-core-blobstorage ) +target_link_options(ydb-core-blobstorage-backpressure-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-backpressure-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/backpressure/queue_backpressure_client_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/backpressure/queue_backpressure_server_ut.cpp @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-backpressure-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-backpressure-ut) diff --git a/ydb/core/blobstorage/backpressure/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/backpressure/ut/CMakeLists.linux.txt index fcaab71f41..6ca6303366 100644 --- a/ydb/core/blobstorage/backpressure/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/backpressure/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-blobstorage-backpressure-ut PUBLIC ydb-core-base ydb-core-blobstorage ) +target_link_options(ydb-core-blobstorage-backpressure-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-backpressure-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/backpressure/queue_backpressure_client_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/backpressure/queue_backpressure_server_ut.cpp @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-backpressure-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-backpressure-ut) diff --git a/ydb/core/blobstorage/backpressure/ut_client/CMakeLists.darwin.txt b/ydb/core/blobstorage/backpressure/ut_client/CMakeLists.darwin.txt index 74328d9e70..2bd20e22bd 100644 --- a/ydb/core/blobstorage/backpressure/ut_client/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/backpressure/ut_client/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-blobstorage-backpressure-ut_client PUBLIC core-tx-scheme_board udf-service-stub ) +target_link_options(ydb-core-blobstorage-backpressure-ut_client PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-backpressure-ut_client PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/backpressure/ut_client/backpressure_ut.cpp ) @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-backpressure-ut_client - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-backpressure-ut_client) diff --git a/ydb/core/blobstorage/backpressure/ut_client/CMakeLists.linux.txt b/ydb/core/blobstorage/backpressure/ut_client/CMakeLists.linux.txt index 01abfc3daa..0a838ec963 100644 --- a/ydb/core/blobstorage/backpressure/ut_client/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/backpressure/ut_client/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-blobstorage-backpressure-ut_client PUBLIC core-tx-scheme_board udf-service-stub ) +target_link_options(ydb-core-blobstorage-backpressure-ut_client PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-backpressure-ut_client PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/backpressure/ut_client/backpressure_ut.cpp ) @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-backpressure-ut_client - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-backpressure-ut_client) diff --git a/ydb/core/blobstorage/base/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/base/ut/CMakeLists.darwin.txt index 85db5d7357..6df562914e 100644 --- a/ydb/core/blobstorage/base/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/base/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-blobstorage-base-ut PUBLIC ydb-core-erasure ydb-core-protos ) +target_link_options(ydb-core-blobstorage-base-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-base-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/base/batched_vec_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/base/bufferwithgaps_ut.cpp @@ -38,13 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-base-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-base-ut) diff --git a/ydb/core/blobstorage/base/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/base/ut/CMakeLists.linux.txt index 0d00542a33..5d24c12fdc 100644 --- a/ydb/core/blobstorage/base/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/base/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-blobstorage-base-ut PUBLIC ydb-core-erasure ydb-core-protos ) +target_link_options(ydb-core-blobstorage-base-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-base-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/base/batched_vec_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/base/bufferwithgaps_ut.cpp @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-base-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-base-ut) diff --git a/ydb/core/blobstorage/crypto/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/crypto/ut/CMakeLists.darwin.txt index 11759069b8..787c1d803e 100644 --- a/ydb/core/blobstorage/crypto/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/crypto/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-core-blobstorage-crypto-ut PUBLIC cpp-testing-unittest_main core-blobstorage-crypto ) +target_link_options(ydb-core-blobstorage-crypto-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-core-blobstorage-crypto-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/crypto/chacha_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/crypto/chacha_vec_ut.cpp @@ -37,11 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-crypto-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-core-blobstorage-crypto-ut) diff --git a/ydb/core/blobstorage/crypto/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/crypto/ut/CMakeLists.linux.txt index abe41670fa..5cf26fdaf0 100644 --- a/ydb/core/blobstorage/crypto/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/crypto/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-core-blobstorage-crypto-ut PUBLIC cpp-testing-unittest_main core-blobstorage-crypto ) +target_link_options(ydb-core-blobstorage-crypto-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-crypto-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/crypto/chacha_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/crypto/chacha_vec_ut.cpp @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-crypto-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-crypto-ut) diff --git a/ydb/core/blobstorage/dsproxy/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/dsproxy/ut/CMakeLists.darwin.txt index f17c417253..505bfc907f 100644 --- a/ydb/core/blobstorage/dsproxy/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/dsproxy/ut/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-blobstorage-dsproxy-ut PUBLIC core-testlib-actors core-testlib-basics ) +target_link_options(ydb-core-blobstorage-dsproxy-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-dsproxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut/dsproxy_put_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut/dsproxy_quorum_tracker_ut.cpp @@ -50,15 +58,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-dsproxy-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-dsproxy-ut) diff --git a/ydb/core/blobstorage/dsproxy/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/dsproxy/ut/CMakeLists.linux.txt index d83d62cfa0..498e1f9de6 100644 --- a/ydb/core/blobstorage/dsproxy/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/dsproxy/ut/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-blobstorage-dsproxy-ut PUBLIC core-testlib-actors core-testlib-basics ) +target_link_options(ydb-core-blobstorage-dsproxy-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-dsproxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut/dsproxy_put_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut/dsproxy_quorum_tracker_ut.cpp @@ -51,15 +61,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-dsproxy-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-dsproxy-ut) diff --git a/ydb/core/blobstorage/dsproxy/ut_fat/CMakeLists.darwin.txt b/ydb/core/blobstorage/dsproxy/ut_fat/CMakeLists.darwin.txt index 17bc58f9ce..f470ddf13e 100644 --- a/ydb/core/blobstorage/dsproxy/ut_fat/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/dsproxy/ut_fat/CMakeLists.darwin.txt @@ -26,6 +26,14 @@ target_link_libraries(ydb-core-blobstorage-dsproxy-ut_fat PUBLIC blobstorage-vdisk-common ydb-core-testlib ) +target_link_options(ydb-core-blobstorage-dsproxy-ut_fat PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-dsproxy-ut_fat PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut_fat/dsproxy_ut.cpp ) @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-dsproxy-ut_fat - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-dsproxy-ut_fat) diff --git a/ydb/core/blobstorage/dsproxy/ut_fat/CMakeLists.linux.txt b/ydb/core/blobstorage/dsproxy/ut_fat/CMakeLists.linux.txt index 8af90113f9..670562e67d 100644 --- a/ydb/core/blobstorage/dsproxy/ut_fat/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/dsproxy/ut_fat/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-core-blobstorage-dsproxy-ut_fat PUBLIC blobstorage-vdisk-common ydb-core-testlib ) +target_link_options(ydb-core-blobstorage-dsproxy-ut_fat PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-dsproxy-ut_fat PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/dsproxy/ut_fat/dsproxy_ut.cpp ) @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-dsproxy-ut_fat - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-dsproxy-ut_fat) diff --git a/ydb/core/blobstorage/groupinfo/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/groupinfo/ut/CMakeLists.darwin.txt index ca429765a8..b92bf4d986 100644 --- a/ydb/core/blobstorage/groupinfo/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/groupinfo/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-blobstorage-groupinfo-ut PUBLIC core-blobstorage-base ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-groupinfo-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-groupinfo-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/groupinfo/blobstorage_groupinfo_iter_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/groupinfo/blobstorage_groupinfo_ut.cpp @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-groupinfo-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-groupinfo-ut) diff --git a/ydb/core/blobstorage/groupinfo/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/groupinfo/ut/CMakeLists.linux.txt index 5d9b05f0ec..de53b9da4c 100644 --- a/ydb/core/blobstorage/groupinfo/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/groupinfo/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-blobstorage-groupinfo-ut PUBLIC core-blobstorage-base ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-groupinfo-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-groupinfo-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/groupinfo/blobstorage_groupinfo_iter_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/groupinfo/blobstorage_groupinfo_ut.cpp @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-groupinfo-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-groupinfo-ut) diff --git a/ydb/core/blobstorage/incrhuge/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/incrhuge/ut/CMakeLists.darwin.txt index e30ac1daf0..7c873c5c47 100644 --- a/ydb/core/blobstorage/incrhuge/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/incrhuge/ut/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ydb-core-blobstorage-incrhuge-ut PUBLIC core-blobstorage-incrhuge core-blobstorage-pdisk ) +target_link_options(ydb-core-blobstorage-incrhuge-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-incrhuge-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/incrhuge/ut/incrhuge_basic_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/incrhuge/ut/incrhuge_id_dict_ut.cpp @@ -34,15 +42,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-incrhuge-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-incrhuge-ut) diff --git a/ydb/core/blobstorage/incrhuge/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/incrhuge/ut/CMakeLists.linux.txt index b72828c7c3..2d26e2e932 100644 --- a/ydb/core/blobstorage/incrhuge/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/incrhuge/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-core-blobstorage-incrhuge-ut PUBLIC core-blobstorage-incrhuge core-blobstorage-pdisk ) +target_link_options(ydb-core-blobstorage-incrhuge-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-incrhuge-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/incrhuge/ut/incrhuge_basic_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/incrhuge/ut/incrhuge_id_dict_ut.cpp @@ -35,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-incrhuge-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-incrhuge-ut) diff --git a/ydb/core/blobstorage/nodewarden/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/nodewarden/ut/CMakeLists.darwin.txt index 6b7f1e7515..0fb64510bd 100644 --- a/ydb/core/blobstorage/nodewarden/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/nodewarden/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-blobstorage-nodewarden-ut PUBLIC core-blobstorage-nodewarden ydb-core-testlib ) +target_link_options(ydb-core-blobstorage-nodewarden-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-nodewarden-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/nodewarden/blobstorage_node_warden_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-nodewarden-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-nodewarden-ut) diff --git a/ydb/core/blobstorage/nodewarden/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/nodewarden/ut/CMakeLists.linux.txt index 0379492b24..26233b9fb7 100644 --- a/ydb/core/blobstorage/nodewarden/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/nodewarden/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-blobstorage-nodewarden-ut PUBLIC core-blobstorage-nodewarden ydb-core-testlib ) +target_link_options(ydb-core-blobstorage-nodewarden-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-nodewarden-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/nodewarden/blobstorage_node_warden_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-nodewarden-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-nodewarden-ut) diff --git a/ydb/core/blobstorage/nodewarden/ut_sequence/CMakeLists.darwin.txt b/ydb/core/blobstorage/nodewarden/ut_sequence/CMakeLists.darwin.txt index 5ad2d2cf65..1ba91724dd 100644 --- a/ydb/core/blobstorage/nodewarden/ut_sequence/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/nodewarden/ut_sequence/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-blobstorage-nodewarden-ut_sequence PUBLIC core-blobstorage-pdisk ydb-core-testlib ) +target_link_options(ydb-core-blobstorage-nodewarden-ut_sequence PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-nodewarden-ut_sequence PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/nodewarden/ut_sequence/dsproxy_config_retrieval.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-nodewarden-ut_sequence - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-nodewarden-ut_sequence) diff --git a/ydb/core/blobstorage/nodewarden/ut_sequence/CMakeLists.linux.txt b/ydb/core/blobstorage/nodewarden/ut_sequence/CMakeLists.linux.txt index e78fd95f5a..e4491e8637 100644 --- a/ydb/core/blobstorage/nodewarden/ut_sequence/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/nodewarden/ut_sequence/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-blobstorage-nodewarden-ut_sequence PUBLIC core-blobstorage-pdisk ydb-core-testlib ) +target_link_options(ydb-core-blobstorage-nodewarden-ut_sequence PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-nodewarden-ut_sequence PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/nodewarden/ut_sequence/dsproxy_config_retrieval.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-nodewarden-ut_sequence - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-nodewarden-ut_sequence) diff --git a/ydb/core/blobstorage/pdisk/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/pdisk/ut/CMakeLists.darwin.txt index 39d41986e7..d254c4fe21 100644 --- a/ydb/core/blobstorage/pdisk/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/pdisk/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-blobstorage-pdisk-ut PUBLIC core-blobstorage-lwtrace_probes core-testlib-actors ) +target_link_options(ydb-core-blobstorage-pdisk-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-pdisk-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_blockdevice_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_crypto_ut.cpp @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-pdisk-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-pdisk-ut) diff --git a/ydb/core/blobstorage/pdisk/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/pdisk/ut/CMakeLists.linux.txt index 8fa6928fb2..8585197f2b 100644 --- a/ydb/core/blobstorage/pdisk/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/pdisk/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-blobstorage-pdisk-ut PUBLIC core-blobstorage-lwtrace_probes core-testlib-actors ) +target_link_options(ydb-core-blobstorage-pdisk-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-pdisk-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_blockdevice_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/pdisk/blobstorage_pdisk_crypto_ut.cpp @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-pdisk-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-pdisk-ut) diff --git a/ydb/core/blobstorage/storagepoolmon/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/storagepoolmon/ut/CMakeLists.darwin.txt index 89905ef74d..dbf6c826c1 100644 --- a/ydb/core/blobstorage/storagepoolmon/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/storagepoolmon/ut/CMakeLists.darwin.txt @@ -20,6 +20,14 @@ target_link_libraries(ydb-core-blobstorage-storagepoolmon-ut PUBLIC core-testlib-actors core-testlib-basics ) +target_link_options(ydb-core-blobstorage-storagepoolmon-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-storagepoolmon-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/storagepoolmon/ut/storagepoolmon_ut.cpp ) @@ -34,15 +42,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-storagepoolmon-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-storagepoolmon-ut) diff --git a/ydb/core/blobstorage/storagepoolmon/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/storagepoolmon/ut/CMakeLists.linux.txt index 336f0a79d4..182faf7ca2 100644 --- a/ydb/core/blobstorage/storagepoolmon/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/storagepoolmon/ut/CMakeLists.linux.txt @@ -21,6 +21,16 @@ target_link_libraries(ydb-core-blobstorage-storagepoolmon-ut PUBLIC core-testlib-actors core-testlib-basics ) +target_link_options(ydb-core-blobstorage-storagepoolmon-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-storagepoolmon-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/storagepoolmon/ut/storagepoolmon_ut.cpp ) @@ -35,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-storagepoolmon-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-storagepoolmon-ut) diff --git a/ydb/core/blobstorage/ut_blobstorage/CMakeLists.darwin.txt b/ydb/core/blobstorage/ut_blobstorage/CMakeLists.darwin.txt index 33829c5e78..46272ff792 100644 --- a/ydb/core/blobstorage/ut_blobstorage/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/ut_blobstorage/CMakeLists.darwin.txt @@ -20,6 +20,14 @@ target_link_libraries(ydb-core-blobstorage-ut_blobstorage PUBLIC blobstorage-vdisk-common blobstorage-vdisk-scrub ) +target_link_options(ydb-core-blobstorage-ut_blobstorage PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-ut_blobstorage PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/block_race.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/counting_events.cpp @@ -52,15 +60,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_blobstorage - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-ut_blobstorage) diff --git a/ydb/core/blobstorage/ut_blobstorage/CMakeLists.linux.txt b/ydb/core/blobstorage/ut_blobstorage/CMakeLists.linux.txt index 5a514146bf..0c713121ad 100644 --- a/ydb/core/blobstorage/ut_blobstorage/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/ut_blobstorage/CMakeLists.linux.txt @@ -21,6 +21,16 @@ target_link_libraries(ydb-core-blobstorage-ut_blobstorage PUBLIC blobstorage-vdisk-common blobstorage-vdisk-scrub ) +target_link_options(ydb-core-blobstorage-ut_blobstorage PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-ut_blobstorage PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/block_race.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/counting_events.cpp @@ -53,15 +63,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_blobstorage - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-ut_blobstorage) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration/CMakeLists.darwin.txt b/ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration/CMakeLists.darwin.txt index 41b182e366..197861a440 100644 --- a/ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ut_group_reconfiguration PUBLIC cpp-testing-unittest_main blobstorage-ut_blobstorage-lib ) +target_link_options(ut_group_reconfiguration PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ut_group_reconfiguration PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/race.cpp ) @@ -32,15 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ut_group_reconfiguration - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ut_group_reconfiguration) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration/CMakeLists.linux.txt b/ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration/CMakeLists.linux.txt index d75b692ffa..44b4c79d22 100644 --- a/ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/ut_blobstorage/ut_group_reconfiguration/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ut_group_reconfiguration PUBLIC cpp-testing-unittest_main blobstorage-ut_blobstorage-lib ) +target_link_options(ut_group_reconfiguration PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ut_group_reconfiguration PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/race.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ut_group_reconfiguration - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ut_group_reconfiguration) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_osiris/CMakeLists.darwin.txt b/ydb/core/blobstorage/ut_blobstorage/ut_osiris/CMakeLists.darwin.txt index 7118db1c19..6e26f605b2 100644 --- a/ydb/core/blobstorage/ut_blobstorage/ut_osiris/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/ut_blobstorage/ut_osiris/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ydb-core-blobstorage-ut_blobstorage-ut_osiris PUBLIC cpp-testing-unittest_main blobstorage-ut_blobstorage-lib ) +target_link_options(ydb-core-blobstorage-ut_blobstorage-ut_osiris PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-ut_blobstorage-ut_osiris PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/osiris.cpp ) @@ -32,15 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_blobstorage-ut_osiris - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-ut_blobstorage-ut_osiris) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_osiris/CMakeLists.linux.txt b/ydb/core/blobstorage/ut_blobstorage/ut_osiris/CMakeLists.linux.txt index 07ba605afd..0147cb03a2 100644 --- a/ydb/core/blobstorage/ut_blobstorage/ut_osiris/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/ut_blobstorage/ut_osiris/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-core-blobstorage-ut_blobstorage-ut_osiris PUBLIC cpp-testing-unittest_main blobstorage-ut_blobstorage-lib ) +target_link_options(ydb-core-blobstorage-ut_blobstorage-ut_osiris PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-ut_blobstorage-ut_osiris PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/osiris.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_blobstorage-ut_osiris - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-ut_blobstorage-ut_osiris) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_replication/CMakeLists.darwin.txt b/ydb/core/blobstorage/ut_blobstorage/ut_replication/CMakeLists.darwin.txt index 670dd9480e..f7f8d299c8 100644 --- a/ydb/core/blobstorage/ut_blobstorage/ut_replication/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/ut_blobstorage/ut_replication/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(core-blobstorage-ut_blobstorage-ut_replication PUBLIC cpp-testing-unittest_main blobstorage-ut_blobstorage-lib ) +target_link_options(core-blobstorage-ut_blobstorage-ut_replication PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(core-blobstorage-ut_blobstorage-ut_replication PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/replication.cpp ) @@ -32,15 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(core-blobstorage-ut_blobstorage-ut_replication - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(core-blobstorage-ut_blobstorage-ut_replication) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_replication/CMakeLists.linux.txt b/ydb/core/blobstorage/ut_blobstorage/ut_replication/CMakeLists.linux.txt index 2b3285041a..8f24a9c541 100644 --- a/ydb/core/blobstorage/ut_blobstorage/ut_replication/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/ut_blobstorage/ut_replication/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(core-blobstorage-ut_blobstorage-ut_replication PUBLIC cpp-testing-unittest_main blobstorage-ut_blobstorage-lib ) +target_link_options(core-blobstorage-ut_blobstorage-ut_replication PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(core-blobstorage-ut_blobstorage-ut_replication PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/replication.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(core-blobstorage-ut_blobstorage-ut_replication - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(core-blobstorage-ut_blobstorage-ut_replication) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_scrub/CMakeLists.darwin.txt b/ydb/core/blobstorage/ut_blobstorage/ut_scrub/CMakeLists.darwin.txt index 5bcf0999cd..a6bb8d2bbd 100644 --- a/ydb/core/blobstorage/ut_blobstorage/ut_scrub/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/ut_blobstorage/ut_scrub/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ydb-core-blobstorage-ut_blobstorage-ut_scrub PUBLIC cpp-testing-unittest_main blobstorage-ut_blobstorage-lib ) +target_link_options(ydb-core-blobstorage-ut_blobstorage-ut_scrub PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-ut_blobstorage-ut_scrub PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/scrub.cpp ) @@ -32,15 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_blobstorage-ut_scrub - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-ut_blobstorage-ut_scrub) diff --git a/ydb/core/blobstorage/ut_blobstorage/ut_scrub/CMakeLists.linux.txt b/ydb/core/blobstorage/ut_blobstorage/ut_scrub/CMakeLists.linux.txt index 5dc6434e9f..5e9f9de188 100644 --- a/ydb/core/blobstorage/ut_blobstorage/ut_scrub/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/ut_blobstorage/ut_scrub/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-core-blobstorage-ut_blobstorage-ut_scrub PUBLIC cpp-testing-unittest_main blobstorage-ut_blobstorage-lib ) +target_link_options(ydb-core-blobstorage-ut_blobstorage-ut_scrub PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-ut_blobstorage-ut_scrub PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_blobstorage/scrub.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_blobstorage-ut_scrub - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-ut_blobstorage-ut_scrub) diff --git a/ydb/core/blobstorage/ut_group/CMakeLists.darwin.txt b/ydb/core/blobstorage/ut_group/CMakeLists.darwin.txt index a2cb97d396..aa91dbd9cb 100644 --- a/ydb/core/blobstorage/ut_group/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/ut_group/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-blobstorage-ut_group PUBLIC core-tx-scheme_board ydb-core-util ) +target_link_options(ydb-core-blobstorage-ut_group PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-ut_group PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_group/main.cpp ) @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_group - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-ut_group) diff --git a/ydb/core/blobstorage/ut_group/CMakeLists.linux.txt b/ydb/core/blobstorage/ut_group/CMakeLists.linux.txt index 80c5720aad..7bc5f6ff0d 100644 --- a/ydb/core/blobstorage/ut_group/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/ut_group/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-blobstorage-ut_group PUBLIC core-tx-scheme_board ydb-core-util ) +target_link_options(ydb-core-blobstorage-ut_group PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-ut_group PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_group/main.cpp ) @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_group - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-ut_group) diff --git a/ydb/core/blobstorage/ut_mirror3of4/CMakeLists.darwin.txt b/ydb/core/blobstorage/ut_mirror3of4/CMakeLists.darwin.txt index 0e15556117..800e098ce1 100644 --- a/ydb/core/blobstorage/ut_mirror3of4/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/ut_mirror3of4/CMakeLists.darwin.txt @@ -26,6 +26,14 @@ target_link_libraries(ydb-core-blobstorage-ut_mirror3of4 PUBLIC core-tx-scheme_board ydb-core-util ) +target_link_options(ydb-core-blobstorage-ut_mirror3of4 PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-ut_mirror3of4 PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_mirror3of4/main.cpp ) @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_mirror3of4 - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-ut_mirror3of4) diff --git a/ydb/core/blobstorage/ut_mirror3of4/CMakeLists.linux.txt b/ydb/core/blobstorage/ut_mirror3of4/CMakeLists.linux.txt index b6eb8ee1f9..b646340cf7 100644 --- a/ydb/core/blobstorage/ut_mirror3of4/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/ut_mirror3of4/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-core-blobstorage-ut_mirror3of4 PUBLIC core-tx-scheme_board ydb-core-util ) +target_link_options(ydb-core-blobstorage-ut_mirror3of4 PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-ut_mirror3of4 PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_mirror3of4/main.cpp ) @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_mirror3of4 - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-ut_mirror3of4) diff --git a/ydb/core/blobstorage/ut_pdiskfit/pdiskfit/CMakeLists.linux.txt b/ydb/core/blobstorage/ut_pdiskfit/pdiskfit/CMakeLists.linux.txt index c13d4c8014..5de4f7ad10 100644 --- a/ydb/core/blobstorage/ut_pdiskfit/pdiskfit/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/ut_pdiskfit/pdiskfit/CMakeLists.linux.txt @@ -19,11 +19,7 @@ target_link_libraries(pdiskfit PUBLIC blobstorage-ut_pdiskfit-lib ydb-core-mon ) -target_sources(pdiskfit PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_pdiskfit/pdiskfit/pdiskfit.cpp -) -target_link_flags(pdiskfit - PUBLIC +target_link_options(pdiskfit PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -33,4 +29,7 @@ target_link_flags(pdiskfit -lrt -ldl ) +target_sources(pdiskfit PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_pdiskfit/pdiskfit/pdiskfit.cpp +) vcs_info(pdiskfit) diff --git a/ydb/core/blobstorage/ut_pdiskfit/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/ut_pdiskfit/ut/CMakeLists.linux.txt index a0ec4a2e06..e15920cf97 100644 --- a/ydb/core/blobstorage/ut_pdiskfit/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/ut_pdiskfit/ut/CMakeLists.linux.txt @@ -17,6 +17,16 @@ target_link_libraries(ydb-core-blobstorage-ut_pdiskfit-ut PUBLIC ydb-core-blobstorage blobstorage-ut_pdiskfit-lib ) +target_link_options(ydb-core-blobstorage-ut_pdiskfit-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-ut_pdiskfit-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_pdiskfit/ut/main.cpp ) @@ -31,15 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_pdiskfit-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-ut_pdiskfit-ut) diff --git a/ydb/core/blobstorage/ut_vdisk/CMakeLists.darwin.txt b/ydb/core/blobstorage/ut_vdisk/CMakeLists.darwin.txt index b24fb2a25c..08e0716c00 100644 --- a/ydb/core/blobstorage/ut_vdisk/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/ut_vdisk/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-blobstorage-ut_vdisk PUBLIC ydb-core-scheme udf-service-stub ) +target_link_options(ydb-core-blobstorage-ut_vdisk PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-ut_vdisk PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/gen_restarts.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/huge_migration_ut.cpp @@ -46,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_vdisk - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-ut_vdisk) diff --git a/ydb/core/blobstorage/ut_vdisk/CMakeLists.linux.txt b/ydb/core/blobstorage/ut_vdisk/CMakeLists.linux.txt index f8dc4e7ae1..b9d700cec6 100644 --- a/ydb/core/blobstorage/ut_vdisk/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/ut_vdisk/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-blobstorage-ut_vdisk PUBLIC ydb-core-scheme udf-service-stub ) +target_link_options(ydb-core-blobstorage-ut_vdisk PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-ut_vdisk PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/gen_restarts.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk/huge_migration_ut.cpp @@ -47,15 +57,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_vdisk - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-ut_vdisk) diff --git a/ydb/core/blobstorage/ut_vdisk2/CMakeLists.darwin.txt b/ydb/core/blobstorage/ut_vdisk2/CMakeLists.darwin.txt index d5b055a2bd..d2e100f31d 100644 --- a/ydb/core/blobstorage/ut_vdisk2/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/ut_vdisk2/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-blobstorage-ut_vdisk2 PUBLIC core-tx-scheme_board udf-service-stub ) +target_link_options(ydb-core-blobstorage-ut_vdisk2 PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-ut_vdisk2 PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk2/huge.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_vdisk2 - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-ut_vdisk2) diff --git a/ydb/core/blobstorage/ut_vdisk2/CMakeLists.linux.txt b/ydb/core/blobstorage/ut_vdisk2/CMakeLists.linux.txt index 061d92fde1..a46ece5781 100644 --- a/ydb/core/blobstorage/ut_vdisk2/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/ut_vdisk2/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-blobstorage-ut_vdisk2 PUBLIC core-tx-scheme_board udf-service-stub ) +target_link_options(ydb-core-blobstorage-ut_vdisk2 PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-ut_vdisk2 PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/ut_vdisk2/huge.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-ut_vdisk2 - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-ut_vdisk2) diff --git a/ydb/core/blobstorage/vdisk/anubis_osiris/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/anubis_osiris/ut/CMakeLists.darwin.txt index 01372e7f62..a0a4dde53f 100644 --- a/ydb/core/blobstorage/vdisk/anubis_osiris/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/anubis_osiris/ut/CMakeLists.darwin.txt @@ -21,6 +21,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-anubis_osiris-ut PUBLIC library-cpp-svnversion ydb-core-base ) +target_link_options(ydb-core-blobstorage-vdisk-anubis_osiris-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-anubis_osiris-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/anubis_osiris/blobstorage_anubis_algo_ut.cpp ) @@ -35,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-anubis_osiris-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-anubis_osiris-ut) diff --git a/ydb/core/blobstorage/vdisk/anubis_osiris/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/anubis_osiris/ut/CMakeLists.linux.txt index 1d123f603b..965987d070 100644 --- a/ydb/core/blobstorage/vdisk/anubis_osiris/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/anubis_osiris/ut/CMakeLists.linux.txt @@ -22,6 +22,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-anubis_osiris-ut PUBLIC library-cpp-svnversion ydb-core-base ) +target_link_options(ydb-core-blobstorage-vdisk-anubis_osiris-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-anubis_osiris-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/anubis_osiris/blobstorage_anubis_algo_ut.cpp ) @@ -36,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-anubis_osiris-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-anubis_osiris-ut) diff --git a/ydb/core/blobstorage/vdisk/common/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/common/ut/CMakeLists.darwin.txt index 8ad6baad76..5d1b2a11bf 100644 --- a/ydb/core/blobstorage/vdisk/common/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/common/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-common-ut PUBLIC core-blobstorage-groupinfo ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-vdisk-common-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-common-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/circlebufresize_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/circlebufstream_ut.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-common-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-common-ut) diff --git a/ydb/core/blobstorage/vdisk/common/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/common/ut/CMakeLists.linux.txt index 03a87554c8..f30cc242d7 100644 --- a/ydb/core/blobstorage/vdisk/common/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/common/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-common-ut PUBLIC core-blobstorage-groupinfo ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-vdisk-common-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-common-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/circlebufresize_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/common/circlebufstream_ut.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-common-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-common-ut) diff --git a/ydb/core/blobstorage/vdisk/defrag/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/defrag/ut/CMakeLists.darwin.txt index 0c48d2207b..fb796d8ba7 100644 --- a/ydb/core/blobstorage/vdisk/defrag/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/defrag/ut/CMakeLists.darwin.txt @@ -21,6 +21,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-defrag-ut PUBLIC library-cpp-svnversion blobstorage-vdisk-hulldb ) +target_link_options(ydb-core-blobstorage-vdisk-defrag-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-defrag-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/defrag/defrag_actor_ut.cpp ) @@ -35,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-defrag-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-defrag-ut) diff --git a/ydb/core/blobstorage/vdisk/defrag/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/defrag/ut/CMakeLists.linux.txt index 2fc4d2bbb3..068addab89 100644 --- a/ydb/core/blobstorage/vdisk/defrag/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/defrag/ut/CMakeLists.linux.txt @@ -22,6 +22,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-defrag-ut PUBLIC library-cpp-svnversion blobstorage-vdisk-hulldb ) +target_link_options(ydb-core-blobstorage-vdisk-defrag-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-defrag-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/defrag/defrag_actor_ut.cpp ) @@ -36,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-defrag-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-defrag-ut) diff --git a/ydb/core/blobstorage/vdisk/huge/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/huge/ut/CMakeLists.darwin.txt index 5aad694665..6e625bcd48 100644 --- a/ydb/core/blobstorage/vdisk/huge/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/huge/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-huge-ut PUBLIC core-blobstorage-groupinfo ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-vdisk-huge-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-huge-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhugedefs_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhugeheap_ctx_ut.cpp @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-huge-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-huge-ut) diff --git a/ydb/core/blobstorage/vdisk/huge/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/huge/ut/CMakeLists.linux.txt index a3535b66be..a47f4ea0dc 100644 --- a/ydb/core/blobstorage/vdisk/huge/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/huge/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-huge-ut PUBLIC core-blobstorage-groupinfo ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-vdisk-huge-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-huge-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhugedefs_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhugeheap_ctx_ut.cpp @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-huge-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-huge-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/barriers/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/hulldb/barriers/ut/CMakeLists.darwin.txt index 2d1903dba0..2cb0ad80f0 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/barriers/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/barriers/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-barriers-ut PUBLIC ydb-core-base blobstorage-vdisk-common ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-barriers-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-hulldb-barriers-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/barriers/barriers_tree_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-barriers-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-barriers-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/barriers/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/hulldb/barriers/ut/CMakeLists.linux.txt index 6c076ecbe2..85fa21863e 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/barriers/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/barriers/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-barriers-ut PUBLIC ydb-core-base blobstorage-vdisk-common ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-barriers-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-hulldb-barriers-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/barriers/barriers_tree_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-barriers-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-barriers-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/base/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/hulldb/base/ut/CMakeLists.darwin.txt index c6a33d52f0..d9c773cfab 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/base/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/base/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-base-ut PUBLIC blobstorage-vdisk-common blobstorage-vdisk-hulldb ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-base-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-hulldb-base-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/base/blobstorage_blob_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/base/blobstorage_hullsatisfactionrank_ut.cpp @@ -41,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-base-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-base-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/base/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/hulldb/base/ut/CMakeLists.linux.txt index 455ca5e241..01ef98e938 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/base/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/base/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-base-ut PUBLIC blobstorage-vdisk-common blobstorage-vdisk-hulldb ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-base-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-hulldb-base-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/base/blobstorage_blob_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/base/blobstorage_hullsatisfactionrank_ut.cpp @@ -42,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-base-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-base-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/compstrat/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/hulldb/compstrat/ut/CMakeLists.darwin.txt index bcbd6e1081..e058a134a1 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/compstrat/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/compstrat/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut PUBLIC blobstorage-vdisk-hulldb vdisk-hulldb-test ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/compstrat/hulldb_compstrat_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/compstrat/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/hulldb/compstrat/ut/CMakeLists.linux.txt index 0dbe229dc8..50c44c98c6 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/compstrat/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/compstrat/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut PUBLIC blobstorage-vdisk-hulldb vdisk-hulldb-test ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/compstrat/hulldb_compstrat_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-compstrat-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/fresh/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/hulldb/fresh/ut/CMakeLists.darwin.txt index 8dac67e764..0ceb538497 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/fresh/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/fresh/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-fresh-ut PUBLIC blobstorage-vdisk-common blobstorage-vdisk-hulldb ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-fresh-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-hulldb-fresh-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/fresh/fresh_appendix_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/fresh/fresh_data_ut.cpp @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-fresh-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-fresh-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/fresh/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/hulldb/fresh/ut/CMakeLists.linux.txt index 84e68abe09..2393151842 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/fresh/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/fresh/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-fresh-ut PUBLIC blobstorage-vdisk-common blobstorage-vdisk-hulldb ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-fresh-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-hulldb-fresh-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/fresh/fresh_appendix_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/fresh/fresh_data_ut.cpp @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-fresh-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-fresh-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/generic/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/hulldb/generic/ut/CMakeLists.darwin.txt index 42c1050f7d..f7a8926041 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/generic/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/generic/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-generic-ut PUBLIC blobstorage-vdisk-common blobstorage-vdisk-hulldb ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-generic-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-hulldb-generic-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/generic/hullds_sst_it_all_ut.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-generic-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-generic-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/generic/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/hulldb/generic/ut/CMakeLists.linux.txt index d47c5933ef..9acf999d4c 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/generic/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/generic/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-generic-ut PUBLIC blobstorage-vdisk-common blobstorage-vdisk-hulldb ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-generic-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-hulldb-generic-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/generic/hullds_sst_it_all_ut.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-generic-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-generic-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.darwin.txt index 18fb699605..86bc36f841 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-ut PUBLIC ydb-core-blobstorage ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-hulldb-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/hullds_cache_block_ut.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-ut) diff --git a/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.linux.txt index 13bc247c31..9ca1302eaf 100644 --- a/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/hulldb/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hulldb-ut PUBLIC ydb-core-blobstorage ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-vdisk-hulldb-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-hulldb-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hulldb/hullds_cache_block_ut.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hulldb-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-hulldb-ut) diff --git a/ydb/core/blobstorage/vdisk/hullop/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/hullop/ut/CMakeLists.darwin.txt index c37d33dc97..956034dc82 100644 --- a/ydb/core/blobstorage/vdisk/hullop/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/hullop/ut/CMakeLists.darwin.txt @@ -21,6 +21,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hullop-ut PUBLIC library-cpp-svnversion core-blobstorage-pdisk ) +target_link_options(ydb-core-blobstorage-vdisk-hullop-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-hullop-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hullop/blobstorage_hullcompactdeferredqueue_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hullop/blobstorage_readbatch_ut.cpp @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hullop-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-hullop-ut) diff --git a/ydb/core/blobstorage/vdisk/hullop/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/hullop/ut/CMakeLists.linux.txt index 07b88fdbd7..e88452834d 100644 --- a/ydb/core/blobstorage/vdisk/hullop/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/hullop/ut/CMakeLists.linux.txt @@ -22,6 +22,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-hullop-ut PUBLIC library-cpp-svnversion core-blobstorage-pdisk ) +target_link_options(ydb-core-blobstorage-vdisk-hullop-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-hullop-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hullop/blobstorage_hullcompactdeferredqueue_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/hullop/blobstorage_readbatch_ut.cpp @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-hullop-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-hullop-ut) diff --git a/ydb/core/blobstorage/vdisk/ingress/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/ingress/ut/CMakeLists.darwin.txt index 412ea21bcb..e5cf640543 100644 --- a/ydb/core/blobstorage/vdisk/ingress/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/ingress/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-ingress-ut PUBLIC core-blobstorage-groupinfo ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-vdisk-ingress-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-ingress-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/ingress/blobstorage_ingress_matrix_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/ingress/blobstorage_ingress_ut.cpp @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-ingress-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-ingress-ut) diff --git a/ydb/core/blobstorage/vdisk/ingress/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/ingress/ut/CMakeLists.linux.txt index 3edde3a9a9..1366b143b6 100644 --- a/ydb/core/blobstorage/vdisk/ingress/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/ingress/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-ingress-ut PUBLIC core-blobstorage-groupinfo ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-vdisk-ingress-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-ingress-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/ingress/blobstorage_ingress_matrix_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/ingress/blobstorage_ingress_ut.cpp @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-ingress-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-ingress-ut) diff --git a/ydb/core/blobstorage/vdisk/query/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/query/ut/CMakeLists.darwin.txt index 4d71a40872..b3c260f34b 100644 --- a/ydb/core/blobstorage/vdisk/query/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/query/ut/CMakeLists.darwin.txt @@ -20,6 +20,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-query-ut PUBLIC blobstorage-vdisk-huge ydb-core-protos ) +target_link_options(ydb-core-blobstorage-vdisk-query-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-query-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/query/query_spacetracker_ut.cpp ) @@ -34,15 +42,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-query-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-query-ut) diff --git a/ydb/core/blobstorage/vdisk/query/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/query/ut/CMakeLists.linux.txt index 17fa5ae8c9..65b92b989e 100644 --- a/ydb/core/blobstorage/vdisk/query/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/query/ut/CMakeLists.linux.txt @@ -21,6 +21,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-query-ut PUBLIC blobstorage-vdisk-huge ydb-core-protos ) +target_link_options(ydb-core-blobstorage-vdisk-query-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-query-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/query/query_spacetracker_ut.cpp ) @@ -35,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-query-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-query-ut) diff --git a/ydb/core/blobstorage/vdisk/repl/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/repl/ut/CMakeLists.darwin.txt index 1d9dad9e77..3b170e77bc 100644 --- a/ydb/core/blobstorage/vdisk/repl/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/repl/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-repl-ut PUBLIC ydb-core-blobstorage ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-vdisk-repl-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-repl-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/repl/blobstorage_hullreplwritesst_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/repl/blobstorage_replrecoverymachine_ut.cpp @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-repl-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-repl-ut) diff --git a/ydb/core/blobstorage/vdisk/repl/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/repl/ut/CMakeLists.linux.txt index e82a5f0fe1..7a5e441fb6 100644 --- a/ydb/core/blobstorage/vdisk/repl/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/repl/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-repl-ut PUBLIC ydb-core-blobstorage ydb-core-erasure ) +target_link_options(ydb-core-blobstorage-vdisk-repl-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-repl-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/repl/blobstorage_hullreplwritesst_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/repl/blobstorage_replrecoverymachine_ut.cpp @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-repl-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-repl-ut) diff --git a/ydb/core/blobstorage/vdisk/skeleton/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/skeleton/ut/CMakeLists.darwin.txt index 3b9208313c..318f73ce48 100644 --- a/ydb/core/blobstorage/vdisk/skeleton/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/skeleton/ut/CMakeLists.darwin.txt @@ -27,6 +27,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-skeleton-ut PUBLIC ydb-core-testlib core-testlib-actors ) +target_link_options(ydb-core-blobstorage-vdisk-skeleton-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-skeleton-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/skeleton/skeleton_oos_logic_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/skeleton/skeleton_vpatch_actor_ut.cpp @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-skeleton-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-skeleton-ut) diff --git a/ydb/core/blobstorage/vdisk/skeleton/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/skeleton/ut/CMakeLists.linux.txt index abba02534e..047271bba5 100644 --- a/ydb/core/blobstorage/vdisk/skeleton/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/skeleton/ut/CMakeLists.linux.txt @@ -28,6 +28,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-skeleton-ut PUBLIC ydb-core-testlib core-testlib-actors ) +target_link_options(ydb-core-blobstorage-vdisk-skeleton-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-skeleton-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/skeleton/skeleton_oos_logic_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/skeleton/skeleton_vpatch_actor_ut.cpp @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-skeleton-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-skeleton-ut) diff --git a/ydb/core/blobstorage/vdisk/syncer/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/syncer/ut/CMakeLists.darwin.txt index f77bc217ed..b03c26e9c3 100644 --- a/ydb/core/blobstorage/vdisk/syncer/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/syncer/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-syncer-ut PUBLIC ydb-core-base ydb-core-blobstorage ) +target_link_options(ydb-core-blobstorage-vdisk-syncer-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-syncer-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/syncer/blobstorage_syncer_data_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/syncer/blobstorage_syncer_localwriter_ut.cpp @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-syncer-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-syncer-ut) diff --git a/ydb/core/blobstorage/vdisk/syncer/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/syncer/ut/CMakeLists.linux.txt index ff1a2ed199..1af2fb86dc 100644 --- a/ydb/core/blobstorage/vdisk/syncer/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/syncer/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-syncer-ut PUBLIC ydb-core-base ydb-core-blobstorage ) +target_link_options(ydb-core-blobstorage-vdisk-syncer-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-syncer-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/syncer/blobstorage_syncer_data_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/syncer/blobstorage_syncer_localwriter_ut.cpp @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-syncer-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-syncer-ut) diff --git a/ydb/core/blobstorage/vdisk/synclog/ut/CMakeLists.darwin.txt b/ydb/core/blobstorage/vdisk/synclog/ut/CMakeLists.darwin.txt index 2c1ea83028..b5f042987d 100644 --- a/ydb/core/blobstorage/vdisk/synclog/ut/CMakeLists.darwin.txt +++ b/ydb/core/blobstorage/vdisk/synclog/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-blobstorage-vdisk-synclog-ut PUBLIC ydb-core-base ydb-core-blobstorage ) +target_link_options(ydb-core-blobstorage-vdisk-synclog-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-blobstorage-vdisk-synclog-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog/blobstorage_synclogdata_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog/blobstorage_synclogdsk_ut.cpp @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-synclog-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-blobstorage-vdisk-synclog-ut) diff --git a/ydb/core/blobstorage/vdisk/synclog/ut/CMakeLists.linux.txt b/ydb/core/blobstorage/vdisk/synclog/ut/CMakeLists.linux.txt index 413cd5e34d..4d467ee22e 100644 --- a/ydb/core/blobstorage/vdisk/synclog/ut/CMakeLists.linux.txt +++ b/ydb/core/blobstorage/vdisk/synclog/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-blobstorage-vdisk-synclog-ut PUBLIC ydb-core-base ydb-core-blobstorage ) +target_link_options(ydb-core-blobstorage-vdisk-synclog-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-blobstorage-vdisk-synclog-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog/blobstorage_synclogdata_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/blobstorage/vdisk/synclog/blobstorage_synclogdsk_ut.cpp @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-blobstorage-vdisk-synclog-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-blobstorage-vdisk-synclog-ut) diff --git a/ydb/core/client/metadata/ut/CMakeLists.darwin.txt b/ydb/core/client/metadata/ut/CMakeLists.darwin.txt index 43c102ef7c..a7088c32be 100644 --- a/ydb/core/client/metadata/ut/CMakeLists.darwin.txt +++ b/ydb/core/client/metadata/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-client-metadata-ut PUBLIC udf-service-stub yql-sql-pg_dummy ) +target_link_options(ydb-core-client-metadata-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-client-metadata-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/client/metadata/ut/functions_metadata_ut.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-client-metadata-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-client-metadata-ut) diff --git a/ydb/core/client/metadata/ut/CMakeLists.linux.txt b/ydb/core/client/metadata/ut/CMakeLists.linux.txt index e7b5a22ebe..bca5009e0a 100644 --- a/ydb/core/client/metadata/ut/CMakeLists.linux.txt +++ b/ydb/core/client/metadata/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-client-metadata-ut PUBLIC udf-service-stub yql-sql-pg_dummy ) +target_link_options(ydb-core-client-metadata-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-client-metadata-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/client/metadata/ut/functions_metadata_ut.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-client-metadata-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-client-metadata-ut) diff --git a/ydb/core/client/minikql_compile/ut/CMakeLists.darwin.txt b/ydb/core/client/minikql_compile/ut/CMakeLists.darwin.txt index d3e44e5f7a..8179879db9 100644 --- a/ydb/core/client/minikql_compile/ut/CMakeLists.darwin.txt +++ b/ydb/core/client/minikql_compile/ut/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-client-minikql_compile-ut PUBLIC library-yql-minikql udf-service-exception_policy ) +target_link_options(ydb-core-client-minikql_compile-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-client-minikql_compile-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/client/minikql_compile/yql_expr_minikql_compile_ut.cpp ) @@ -44,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-client-minikql_compile-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-client-minikql_compile-ut) diff --git a/ydb/core/client/minikql_compile/ut/CMakeLists.linux.txt b/ydb/core/client/minikql_compile/ut/CMakeLists.linux.txt index 8bf98ceda1..e7535e44a6 100644 --- a/ydb/core/client/minikql_compile/ut/CMakeLists.linux.txt +++ b/ydb/core/client/minikql_compile/ut/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-client-minikql_compile-ut PUBLIC library-yql-minikql udf-service-exception_policy ) +target_link_options(ydb-core-client-minikql_compile-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-client-minikql_compile-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/client/minikql_compile/yql_expr_minikql_compile_ut.cpp ) @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-client-minikql_compile-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-client-minikql_compile-ut) diff --git a/ydb/core/client/minikql_result_lib/ut/CMakeLists.darwin.txt b/ydb/core/client/minikql_result_lib/ut/CMakeLists.darwin.txt index b4199b3dee..d1521ad2cb 100644 --- a/ydb/core/client/minikql_result_lib/ut/CMakeLists.darwin.txt +++ b/ydb/core/client/minikql_result_lib/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-client-minikql_result_lib-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-client-minikql_result_lib-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-client-minikql_result_lib-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/client/minikql_result_lib/converter_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/client/minikql_result_lib/objects_ut.cpp @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-client-minikql_result_lib-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-client-minikql_result_lib-ut) diff --git a/ydb/core/client/minikql_result_lib/ut/CMakeLists.linux.txt b/ydb/core/client/minikql_result_lib/ut/CMakeLists.linux.txt index 2b823a5643..75a462b272 100644 --- a/ydb/core/client/minikql_result_lib/ut/CMakeLists.linux.txt +++ b/ydb/core/client/minikql_result_lib/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-client-minikql_result_lib-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-client-minikql_result_lib-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-client-minikql_result_lib-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/client/minikql_result_lib/converter_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/client/minikql_result_lib/objects_ut.cpp @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-client-minikql_result_lib-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-client-minikql_result_lib-ut) diff --git a/ydb/core/client/server/ut/CMakeLists.darwin.txt b/ydb/core/client/server/ut/CMakeLists.darwin.txt index b993911e55..b669624bbd 100644 --- a/ydb/core/client/server/ut/CMakeLists.darwin.txt +++ b/ydb/core/client/server/ut/CMakeLists.darwin.txt @@ -26,6 +26,14 @@ target_link_libraries(ydb-core-client-server-ut PUBLIC ydb-core-testlib core-testlib-actors ) +target_link_options(ydb-core-client-server-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-client-server-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/client/server/pq_metacache_v2_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/client/server/msgbus_server_pq_metarequest_ut.cpp @@ -41,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-client-server-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-client-server-ut) diff --git a/ydb/core/client/server/ut/CMakeLists.linux.txt b/ydb/core/client/server/ut/CMakeLists.linux.txt index 8e7efa1338..e3fc03f4c0 100644 --- a/ydb/core/client/server/ut/CMakeLists.linux.txt +++ b/ydb/core/client/server/ut/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-core-client-server-ut PUBLIC ydb-core-testlib core-testlib-actors ) +target_link_options(ydb-core-client-server-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-client-server-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/client/server/pq_metacache_v2_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/client/server/msgbus_server_pq_metarequest_ut.cpp @@ -42,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-client-server-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-client-server-ut) diff --git a/ydb/core/client/ut/CMakeLists.darwin.txt b/ydb/core/client/ut/CMakeLists.darwin.txt index 7d131482b8..adca63db79 100644 --- a/ydb/core/client/ut/CMakeLists.darwin.txt +++ b/ydb/core/client/ut/CMakeLists.darwin.txt @@ -27,6 +27,14 @@ target_link_libraries(ydb-core-client-ut PUBLIC test-libs-rows ydb-core-testlib ) +target_link_options(ydb-core-client-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-client-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/client/cancel_tx_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/client/client_ut.cpp @@ -46,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-client-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-client-ut) diff --git a/ydb/core/client/ut/CMakeLists.linux.txt b/ydb/core/client/ut/CMakeLists.linux.txt index 81d44fb75f..e246e84521 100644 --- a/ydb/core/client/ut/CMakeLists.linux.txt +++ b/ydb/core/client/ut/CMakeLists.linux.txt @@ -28,6 +28,16 @@ target_link_libraries(ydb-core-client-ut PUBLIC test-libs-rows ydb-core-testlib ) +target_link_options(ydb-core-client-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-client-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/client/cancel_tx_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/client/client_ut.cpp @@ -47,15 +57,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-client-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-client-ut) diff --git a/ydb/core/cms/console/ut/CMakeLists.darwin.txt b/ydb/core/cms/console/ut/CMakeLists.darwin.txt index 1ce2b47c93..8daffabf38 100644 --- a/ydb/core/cms/console/ut/CMakeLists.darwin.txt +++ b/ydb/core/cms/console/ut/CMakeLists.darwin.txt @@ -26,6 +26,14 @@ target_link_libraries(ydb-core-cms-console-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-cms-console-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-cms-console-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/configs_cache_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/configs_dispatcher_ut.cpp @@ -47,15 +55,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-cms-console-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-cms-console-ut) diff --git a/ydb/core/cms/console/ut/CMakeLists.linux.txt b/ydb/core/cms/console/ut/CMakeLists.linux.txt index 5f8e0d8c5a..a2fec47214 100644 --- a/ydb/core/cms/console/ut/CMakeLists.linux.txt +++ b/ydb/core/cms/console/ut/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-core-cms-console-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-cms-console-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-cms-console-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/configs_cache_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/configs_dispatcher_ut.cpp @@ -48,15 +58,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-cms-console-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-cms-console-ut) diff --git a/ydb/core/cms/console/validators/ut/CMakeLists.darwin.txt b/ydb/core/cms/console/validators/ut/CMakeLists.darwin.txt index 0fa2c945ab..446ea77f56 100644 --- a/ydb/core/cms/console/validators/ut/CMakeLists.darwin.txt +++ b/ydb/core/cms/console/validators/ut/CMakeLists.darwin.txt @@ -19,6 +19,14 @@ target_link_libraries(ydb-core-cms-console-validators-ut PUBLIC cms-console-validators cpp-testing-unittest ) +target_link_options(ydb-core-cms-console-validators-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-cms-console-validators-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/validators/registry_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/validators/validator_bootstrap_ut.cpp @@ -35,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-cms-console-validators-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-cms-console-validators-ut) diff --git a/ydb/core/cms/console/validators/ut/CMakeLists.linux.txt b/ydb/core/cms/console/validators/ut/CMakeLists.linux.txt index ac193be7ed..5088ffd85e 100644 --- a/ydb/core/cms/console/validators/ut/CMakeLists.linux.txt +++ b/ydb/core/cms/console/validators/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-core-cms-console-validators-ut PUBLIC cms-console-validators cpp-testing-unittest ) +target_link_options(ydb-core-cms-console-validators-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-cms-console-validators-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/validators/registry_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/cms/console/validators/validator_bootstrap_ut.cpp @@ -36,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-cms-console-validators-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-cms-console-validators-ut) diff --git a/ydb/core/cms/ut/CMakeLists.darwin.txt b/ydb/core/cms/ut/CMakeLists.darwin.txt index 0db21fa4ff..c35c8bed54 100644 --- a/ydb/core/cms/ut/CMakeLists.darwin.txt +++ b/ydb/core/cms/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-cms-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-cms-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-cms-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/cms/cluster_info_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/cms/cms_ut.cpp @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-cms-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-cms-ut) diff --git a/ydb/core/cms/ut/CMakeLists.linux.txt b/ydb/core/cms/ut/CMakeLists.linux.txt index ceb5943b08..614f43bae9 100644 --- a/ydb/core/cms/ut/CMakeLists.linux.txt +++ b/ydb/core/cms/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-cms-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-cms-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-cms-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/cms/cluster_info_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/cms/cms_ut.cpp @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-cms-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-cms-ut) diff --git a/ydb/core/cms/ut_sentinel/CMakeLists.darwin.txt b/ydb/core/cms/ut_sentinel/CMakeLists.darwin.txt index 2d1e2f5103..26e890c598 100644 --- a/ydb/core/cms/ut_sentinel/CMakeLists.darwin.txt +++ b/ydb/core/cms/ut_sentinel/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-cms-ut_sentinel PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-cms-ut_sentinel PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-cms-ut_sentinel PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/cms/cms_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/cms/sentinel_ut.cpp @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-cms-ut_sentinel - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-cms-ut_sentinel) diff --git a/ydb/core/cms/ut_sentinel/CMakeLists.linux.txt b/ydb/core/cms/ut_sentinel/CMakeLists.linux.txt index 667f398795..26957922fd 100644 --- a/ydb/core/cms/ut_sentinel/CMakeLists.linux.txt +++ b/ydb/core/cms/ut_sentinel/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-cms-ut_sentinel PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-cms-ut_sentinel PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-cms-ut_sentinel PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/cms/cms_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/cms/sentinel_ut.cpp @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-cms-ut_sentinel - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-cms-ut_sentinel) diff --git a/ydb/core/control/ut/CMakeLists.darwin.txt b/ydb/core/control/ut/CMakeLists.darwin.txt index b3735de23a..ef45e42401 100644 --- a/ydb/core/control/ut/CMakeLists.darwin.txt +++ b/ydb/core/control/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-control-ut PUBLIC ydb-core-mind ydb-core-mon ) +target_link_options(ydb-core-control-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-control-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/control/immediate_control_board_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/control/immediate_control_board_actor_ut.cpp @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-control-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-control-ut) diff --git a/ydb/core/control/ut/CMakeLists.linux.txt b/ydb/core/control/ut/CMakeLists.linux.txt index a6f574f32e..916437b57d 100644 --- a/ydb/core/control/ut/CMakeLists.linux.txt +++ b/ydb/core/control/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-control-ut PUBLIC ydb-core-mind ydb-core-mon ) +target_link_options(ydb-core-control-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-control-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/control/immediate_control_board_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/control/immediate_control_board_actor_ut.cpp @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-control-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-control-ut) diff --git a/ydb/core/driver_lib/run/ut/CMakeLists.darwin.txt b/ydb/core/driver_lib/run/ut/CMakeLists.darwin.txt index 91708e8cc9..7bd453869a 100644 --- a/ydb/core/driver_lib/run/ut/CMakeLists.darwin.txt +++ b/ydb/core/driver_lib/run/ut/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ydb-core-driver_lib-run-ut PUBLIC cpp-testing-unittest_main run ) +target_link_options(ydb-core-driver_lib-run-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-driver_lib-run-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/driver_lib/run/version_ut.cpp ) @@ -32,15 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-driver_lib-run-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-driver_lib-run-ut) diff --git a/ydb/core/driver_lib/run/ut/CMakeLists.linux.txt b/ydb/core/driver_lib/run/ut/CMakeLists.linux.txt index 108ba6ca70..f00e67f386 100644 --- a/ydb/core/driver_lib/run/ut/CMakeLists.linux.txt +++ b/ydb/core/driver_lib/run/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-core-driver_lib-run-ut PUBLIC cpp-testing-unittest_main run ) +target_link_options(ydb-core-driver_lib-run-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-driver_lib-run-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/driver_lib/run/version_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-driver_lib-run-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-driver_lib-run-ut) diff --git a/ydb/core/engine/ut/CMakeLists.darwin.txt b/ydb/core/engine/ut/CMakeLists.darwin.txt index 69d0d02a71..94c41469d9 100644 --- a/ydb/core/engine/ut/CMakeLists.darwin.txt +++ b/ydb/core/engine/ut/CMakeLists.darwin.txt @@ -27,6 +27,14 @@ target_link_libraries(ydb-core-engine-ut PUBLIC mkql_proto-ut-helpers udf-service-exception_policy ) +target_link_options(ydb-core-engine-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-engine-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/engine/mkql_engine_flat_host_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/engine/mkql_engine_flat_ut.cpp @@ -44,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-engine-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-engine-ut) diff --git a/ydb/core/engine/ut/CMakeLists.linux.txt b/ydb/core/engine/ut/CMakeLists.linux.txt index a2c12285a0..e6ce7faed2 100644 --- a/ydb/core/engine/ut/CMakeLists.linux.txt +++ b/ydb/core/engine/ut/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-core-engine-ut PUBLIC mkql_proto-ut-helpers udf-service-exception_policy ) +target_link_options(ydb-core-engine-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-engine-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/engine/mkql_engine_flat_host_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/engine/mkql_engine_flat_ut.cpp @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-engine-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-engine-ut) diff --git a/ydb/core/erasure/ut/CMakeLists.darwin.txt b/ydb/core/erasure/ut/CMakeLists.darwin.txt index 8725926485..13070553f6 100644 --- a/ydb/core/erasure/ut/CMakeLists.darwin.txt +++ b/ydb/core/erasure/ut/CMakeLists.darwin.txt @@ -19,6 +19,12 @@ target_link_libraries(ydb-core-erasure-ut PUBLIC ydb-core-erasure cpp-digest-crc32c ) +target_link_options(ydb-core-erasure-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-core-erasure-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/erasure/erasure_ut.cpp ) @@ -33,11 +39,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-erasure-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-core-erasure-ut) diff --git a/ydb/core/erasure/ut/CMakeLists.linux.txt b/ydb/core/erasure/ut/CMakeLists.linux.txt index 1464331e7f..1b0003846f 100644 --- a/ydb/core/erasure/ut/CMakeLists.linux.txt +++ b/ydb/core/erasure/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-core-erasure-ut PUBLIC ydb-core-erasure cpp-digest-crc32c ) +target_link_options(ydb-core-erasure-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-erasure-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/erasure/erasure_ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-erasure-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-erasure-ut) diff --git a/ydb/core/erasure/ut_perf/CMakeLists.darwin.txt b/ydb/core/erasure/ut_perf/CMakeLists.darwin.txt index 4dccca703e..0d63415432 100644 --- a/ydb/core/erasure/ut_perf/CMakeLists.darwin.txt +++ b/ydb/core/erasure/ut_perf/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-core-erasure-ut_perf PUBLIC cpp-testing-unittest_main ydb-core-erasure ) +target_link_options(ydb-core-erasure-ut_perf PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-core-erasure-ut_perf PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/erasure/erasure_perf_test.cpp ) @@ -32,11 +38,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-erasure-ut_perf - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-core-erasure-ut_perf) diff --git a/ydb/core/erasure/ut_perf/CMakeLists.linux.txt b/ydb/core/erasure/ut_perf/CMakeLists.linux.txt index 5b2571ce19..d2304375ec 100644 --- a/ydb/core/erasure/ut_perf/CMakeLists.linux.txt +++ b/ydb/core/erasure/ut_perf/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-core-erasure-ut_perf PUBLIC cpp-testing-unittest_main ydb-core-erasure ) +target_link_options(ydb-core-erasure-ut_perf PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-erasure-ut_perf PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/erasure/erasure_perf_test.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-erasure-ut_perf - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-erasure-ut_perf) diff --git a/ydb/core/erasure/ut_rope/CMakeLists.darwin.txt b/ydb/core/erasure/ut_rope/CMakeLists.darwin.txt index a01070920c..e4e13688c1 100644 --- a/ydb/core/erasure/ut_rope/CMakeLists.darwin.txt +++ b/ydb/core/erasure/ut_rope/CMakeLists.darwin.txt @@ -19,6 +19,12 @@ target_link_libraries(ydb-core-erasure-ut_rope PUBLIC ydb-core-erasure cpp-digest-crc32c ) +target_link_options(ydb-core-erasure-ut_rope PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-core-erasure-ut_rope PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/erasure/erasure_rope_ut.cpp ) @@ -33,11 +39,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-erasure-ut_rope - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-core-erasure-ut_rope) diff --git a/ydb/core/erasure/ut_rope/CMakeLists.linux.txt b/ydb/core/erasure/ut_rope/CMakeLists.linux.txt index fb10f8f22e..4c081c2d09 100644 --- a/ydb/core/erasure/ut_rope/CMakeLists.linux.txt +++ b/ydb/core/erasure/ut_rope/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-core-erasure-ut_rope PUBLIC ydb-core-erasure cpp-digest-crc32c ) +target_link_options(ydb-core-erasure-ut_rope PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-erasure-ut_rope PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/erasure/erasure_rope_ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-erasure-ut_rope - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-erasure-ut_rope) diff --git a/ydb/core/formats/ut/CMakeLists.darwin.txt b/ydb/core/formats/ut/CMakeLists.darwin.txt index 0395fca8d6..63729f5691 100644 --- a/ydb/core/formats/ut/CMakeLists.darwin.txt +++ b/ydb/core/formats/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-formats-ut PUBLIC libs-apache-arrow ydb-core-base ) +target_link_options(ydb-core-formats-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-formats-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/formats/ut_arrow.cpp ${CMAKE_SOURCE_DIR}/ydb/core/formats/ut_arithmetic.cpp @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-formats-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-formats-ut) diff --git a/ydb/core/formats/ut/CMakeLists.linux.txt b/ydb/core/formats/ut/CMakeLists.linux.txt index ffc030f5f3..286bb5eb02 100644 --- a/ydb/core/formats/ut/CMakeLists.linux.txt +++ b/ydb/core/formats/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-formats-ut PUBLIC libs-apache-arrow ydb-core-base ) +target_link_options(ydb-core-formats-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-formats-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/formats/ut_arrow.cpp ${CMAKE_SOURCE_DIR}/ydb/core/formats/ut_arithmetic.cpp @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-formats-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-formats-ut) diff --git a/ydb/core/grpc_services/ut/CMakeLists.darwin.txt b/ydb/core/grpc_services/ut/CMakeLists.darwin.txt index e325608c35..573ff57249 100644 --- a/ydb/core/grpc_services/ut/CMakeLists.darwin.txt +++ b/ydb/core/grpc_services/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-grpc_services-ut PUBLIC core-client-scheme_cache_lib ydb-core-testlib ) +target_link_options(ydb-core-grpc_services-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-grpc_services-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/grpc_services/rpc_calls_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/grpc_services/operation_helpers_ut.cpp @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-grpc_services-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-grpc_services-ut) diff --git a/ydb/core/grpc_services/ut/CMakeLists.linux.txt b/ydb/core/grpc_services/ut/CMakeLists.linux.txt index 3512544c92..a71f5302e4 100644 --- a/ydb/core/grpc_services/ut/CMakeLists.linux.txt +++ b/ydb/core/grpc_services/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-grpc_services-ut PUBLIC core-client-scheme_cache_lib ydb-core-testlib ) +target_link_options(ydb-core-grpc_services-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-grpc_services-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/grpc_services/rpc_calls_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/grpc_services/operation_helpers_ut.cpp @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-grpc_services-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-grpc_services-ut) diff --git a/ydb/core/grpc_streaming/ut/CMakeLists.darwin.txt b/ydb/core/grpc_streaming/ut/CMakeLists.darwin.txt index 73a359e650..5c42176121 100644 --- a/ydb/core/grpc_streaming/ut/CMakeLists.darwin.txt +++ b/ydb/core/grpc_streaming/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-grpc_streaming-ut PUBLIC grpc_streaming-ut-grpc ydb-core-testlib ) +target_link_options(ydb-core-grpc_streaming-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-grpc_streaming-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/grpc_streaming/grpc_streaming_ut.cpp ) @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-grpc_streaming-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-grpc_streaming-ut) diff --git a/ydb/core/grpc_streaming/ut/CMakeLists.linux.txt b/ydb/core/grpc_streaming/ut/CMakeLists.linux.txt index 148d760d73..f679d2719a 100644 --- a/ydb/core/grpc_streaming/ut/CMakeLists.linux.txt +++ b/ydb/core/grpc_streaming/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-grpc_streaming-ut PUBLIC grpc_streaming-ut-grpc ydb-core-testlib ) +target_link_options(ydb-core-grpc_streaming-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-grpc_streaming-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/grpc_streaming/grpc_streaming_ut.cpp ) @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-grpc_streaming-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-grpc_streaming-ut) diff --git a/ydb/core/health_check/ut/CMakeLists.darwin.txt b/ydb/core/health_check/ut/CMakeLists.darwin.txt index ff88bff85f..fbfdfed6df 100644 --- a/ydb/core/health_check/ut/CMakeLists.darwin.txt +++ b/ydb/core/health_check/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-health_check-ut PUBLIC ydb-core-health_check ydb-core-testlib ) +target_link_options(ydb-core-health_check-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-health_check-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/health_check/health_check_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-health_check-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-health_check-ut) diff --git a/ydb/core/health_check/ut/CMakeLists.linux.txt b/ydb/core/health_check/ut/CMakeLists.linux.txt index eec6181105..cb0ff40fb4 100644 --- a/ydb/core/health_check/ut/CMakeLists.linux.txt +++ b/ydb/core/health_check/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-health_check-ut PUBLIC ydb-core-health_check ydb-core-testlib ) +target_link_options(ydb-core-health_check-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-health_check-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/health_check/health_check_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-health_check-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-health_check-ut) diff --git a/ydb/core/kesus/proxy/ut/CMakeLists.darwin.txt b/ydb/core/kesus/proxy/ut/CMakeLists.darwin.txt index 41cd61c139..c4258c7c46 100644 --- a/ydb/core/kesus/proxy/ut/CMakeLists.darwin.txt +++ b/ydb/core/kesus/proxy/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-kesus-proxy-ut PUBLIC core-kesus-proxy ydb-core-testlib ) +target_link_options(ydb-core-kesus-proxy-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-kesus-proxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kesus/proxy/proxy_actor_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/kesus/proxy/ut_helpers.cpp @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kesus-proxy-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-kesus-proxy-ut) diff --git a/ydb/core/kesus/proxy/ut/CMakeLists.linux.txt b/ydb/core/kesus/proxy/ut/CMakeLists.linux.txt index 82ecfefe78..0859730c20 100644 --- a/ydb/core/kesus/proxy/ut/CMakeLists.linux.txt +++ b/ydb/core/kesus/proxy/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-kesus-proxy-ut PUBLIC core-kesus-proxy ydb-core-testlib ) +target_link_options(ydb-core-kesus-proxy-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-kesus-proxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kesus/proxy/proxy_actor_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/kesus/proxy/ut_helpers.cpp @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kesus-proxy-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-kesus-proxy-ut) diff --git a/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.darwin.txt b/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.darwin.txt index 23fbb7a09a..9df85c2284 100644 --- a/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.darwin.txt +++ b/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.darwin.txt @@ -23,19 +23,16 @@ target_link_libraries(quoter_performance_test PUBLIC core-kesus-tablet ydb-core-testlib ) -target_sources(quoter_performance_test PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/quoter_performance_test/main.cpp - ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/ut_helpers.cpp -) -target_link_flags(quoter_performance_test - PUBLIC +target_link_options(quoter_performance_test PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC -framework CoreFoundation - -framework - CoreFoundation +) +target_sources(quoter_performance_test PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/quoter_performance_test/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/ut_helpers.cpp ) vcs_info(quoter_performance_test) diff --git a/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.linux.txt b/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.linux.txt index d796e14636..fcc41d7949 100644 --- a/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.linux.txt +++ b/ydb/core/kesus/tablet/quoter_performance_test/CMakeLists.linux.txt @@ -24,12 +24,7 @@ target_link_libraries(quoter_performance_test PUBLIC core-kesus-tablet ydb-core-testlib ) -target_sources(quoter_performance_test PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/quoter_performance_test/main.cpp - ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/ut_helpers.cpp -) -target_link_flags(quoter_performance_test - PUBLIC +target_link_options(quoter_performance_test PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -39,4 +34,8 @@ target_link_flags(quoter_performance_test -lrt -ldl ) +target_sources(quoter_performance_test PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/quoter_performance_test/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/ut_helpers.cpp +) vcs_info(quoter_performance_test) diff --git a/ydb/core/kesus/tablet/ut/CMakeLists.darwin.txt b/ydb/core/kesus/tablet/ut/CMakeLists.darwin.txt index 8cbb4c4a1a..3c3ea0c5d7 100644 --- a/ydb/core/kesus/tablet/ut/CMakeLists.darwin.txt +++ b/ydb/core/kesus/tablet/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-kesus-tablet-ut PUBLIC cpp-testing-gmock_in_unittest ydb-core-testlib ) +target_link_options(ydb-core-kesus-tablet-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-kesus-tablet-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/tablet_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/quoter_resource_tree_ut.cpp @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kesus-tablet-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-kesus-tablet-ut) diff --git a/ydb/core/kesus/tablet/ut/CMakeLists.linux.txt b/ydb/core/kesus/tablet/ut/CMakeLists.linux.txt index a11bc48d18..6949b5fab0 100644 --- a/ydb/core/kesus/tablet/ut/CMakeLists.linux.txt +++ b/ydb/core/kesus/tablet/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-kesus-tablet-ut PUBLIC cpp-testing-gmock_in_unittest ydb-core-testlib ) +target_link_options(ydb-core-kesus-tablet-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-kesus-tablet-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/tablet_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/kesus/tablet/quoter_resource_tree_ut.cpp @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kesus-tablet-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-kesus-tablet-ut) diff --git a/ydb/core/keyvalue/ut/CMakeLists.darwin.txt b/ydb/core/keyvalue/ut/CMakeLists.darwin.txt index b3baa022e7..309ef9b9fc 100644 --- a/ydb/core/keyvalue/ut/CMakeLists.darwin.txt +++ b/ydb/core/keyvalue/ut/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-keyvalue-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-keyvalue-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-keyvalue-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/keyvalue/keyvalue_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/keyvalue/keyvalue_collector_ut.cpp @@ -41,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-keyvalue-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-keyvalue-ut) diff --git a/ydb/core/keyvalue/ut/CMakeLists.linux.txt b/ydb/core/keyvalue/ut/CMakeLists.linux.txt index bbcc4d3764..a1b3c05c60 100644 --- a/ydb/core/keyvalue/ut/CMakeLists.linux.txt +++ b/ydb/core/keyvalue/ut/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-keyvalue-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-keyvalue-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-keyvalue-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/keyvalue/keyvalue_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/keyvalue/keyvalue_collector_ut.cpp @@ -42,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-keyvalue-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-keyvalue-ut) diff --git a/ydb/core/kqp/executer/ut/CMakeLists.darwin.txt b/ydb/core/kqp/executer/ut/CMakeLists.darwin.txt index 314616c44e..6bc4f14002 100644 --- a/ydb/core/kqp/executer/ut/CMakeLists.darwin.txt +++ b/ydb/core/kqp/executer/ut/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-kqp-executer-ut PUBLIC kqp-ut-common cpp-client-ydb_proto ) +target_link_options(ydb-core-kqp-executer-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) add_test( NAME ydb-core-kqp-executer-ut @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-executer-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-kqp-executer-ut) diff --git a/ydb/core/kqp/executer/ut/CMakeLists.linux.txt b/ydb/core/kqp/executer/ut/CMakeLists.linux.txt index d2ae249768..757d74dca9 100644 --- a/ydb/core/kqp/executer/ut/CMakeLists.linux.txt +++ b/ydb/core/kqp/executer/ut/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-kqp-executer-ut PUBLIC kqp-ut-common cpp-client-ydb_proto ) +target_link_options(ydb-core-kqp-executer-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) add_test( NAME ydb-core-kqp-executer-ut @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-executer-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-kqp-executer-ut) diff --git a/ydb/core/kqp/node/ut/CMakeLists.darwin.txt b/ydb/core/kqp/node/ut/CMakeLists.darwin.txt index 7cf36e97b7..2d1867e187 100644 --- a/ydb/core/kqp/node/ut/CMakeLists.darwin.txt +++ b/ydb/core/kqp/node/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-kqp-node-ut PUBLIC core-kqp-node kqp-ut-common ) +target_link_options(ydb-core-kqp-node-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-kqp-node-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/node/kqp_node_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-node-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-kqp-node-ut) diff --git a/ydb/core/kqp/node/ut/CMakeLists.linux.txt b/ydb/core/kqp/node/ut/CMakeLists.linux.txt index d730ec3347..51cb4126c6 100644 --- a/ydb/core/kqp/node/ut/CMakeLists.linux.txt +++ b/ydb/core/kqp/node/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-kqp-node-ut PUBLIC core-kqp-node kqp-ut-common ) +target_link_options(ydb-core-kqp-node-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-kqp-node-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/node/kqp_node_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-node-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-kqp-node-ut) diff --git a/ydb/core/kqp/provider/ut/CMakeLists.darwin.txt b/ydb/core/kqp/provider/ut/CMakeLists.darwin.txt index 0c4d350796..e65803fd5a 100644 --- a/ydb/core/kqp/provider/ut/CMakeLists.darwin.txt +++ b/ydb/core/kqp/provider/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-kqp-provider-ut PUBLIC core-client-minikql_result_lib kqp-ut-common ) +target_link_options(ydb-core-kqp-provider-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-kqp-provider-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/provider/yql_kikimr_gateway_ut.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-provider-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-kqp-provider-ut) diff --git a/ydb/core/kqp/provider/ut/CMakeLists.linux.txt b/ydb/core/kqp/provider/ut/CMakeLists.linux.txt index 2695fd20d1..4e8d185509 100644 --- a/ydb/core/kqp/provider/ut/CMakeLists.linux.txt +++ b/ydb/core/kqp/provider/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-kqp-provider-ut PUBLIC core-client-minikql_result_lib kqp-ut-common ) +target_link_options(ydb-core-kqp-provider-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-kqp-provider-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/provider/yql_kikimr_gateway_ut.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-provider-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-kqp-provider-ut) diff --git a/ydb/core/kqp/proxy/ut/CMakeLists.darwin.txt b/ydb/core/kqp/proxy/ut/CMakeLists.darwin.txt index d768f9f11d..7cf2b981ee 100644 --- a/ydb/core/kqp/proxy/ut/CMakeLists.darwin.txt +++ b/ydb/core/kqp/proxy/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-kqp-proxy-ut PUBLIC core-kqp-proxy kqp-ut-common ) +target_link_options(ydb-core-kqp-proxy-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-kqp-proxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/proxy/kqp_proxy_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-proxy-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-kqp-proxy-ut) diff --git a/ydb/core/kqp/proxy/ut/CMakeLists.linux.txt b/ydb/core/kqp/proxy/ut/CMakeLists.linux.txt index 55c9b50531..b4db24fb4c 100644 --- a/ydb/core/kqp/proxy/ut/CMakeLists.linux.txt +++ b/ydb/core/kqp/proxy/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-kqp-proxy-ut PUBLIC core-kqp-proxy kqp-ut-common ) +target_link_options(ydb-core-kqp-proxy-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-kqp-proxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/proxy/kqp_proxy_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-proxy-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-kqp-proxy-ut) diff --git a/ydb/core/kqp/rm/ut/CMakeLists.darwin.txt b/ydb/core/kqp/rm/ut/CMakeLists.darwin.txt index ab0b93783d..bf1a22ecb1 100644 --- a/ydb/core/kqp/rm/ut/CMakeLists.darwin.txt +++ b/ydb/core/kqp/rm/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-kqp-rm-ut PUBLIC core-kqp-rm kqp-ut-common ) +target_link_options(ydb-core-kqp-rm-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-kqp-rm-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/rm/kqp_resource_estimation_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/kqp/rm/kqp_rm_ut.cpp @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-rm-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-kqp-rm-ut) diff --git a/ydb/core/kqp/rm/ut/CMakeLists.linux.txt b/ydb/core/kqp/rm/ut/CMakeLists.linux.txt index 1bde06ed32..0c68d8f623 100644 --- a/ydb/core/kqp/rm/ut/CMakeLists.linux.txt +++ b/ydb/core/kqp/rm/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-kqp-rm-ut PUBLIC core-kqp-rm kqp-ut-common ) +target_link_options(ydb-core-kqp-rm-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-kqp-rm-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/rm/kqp_resource_estimation_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/kqp/rm/kqp_rm_ut.cpp @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-rm-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-kqp-rm-ut) diff --git a/ydb/core/kqp/runtime/ut/CMakeLists.darwin.txt b/ydb/core/kqp/runtime/ut/CMakeLists.darwin.txt index 37a2a5de26..80144c45f2 100644 --- a/ydb/core/kqp/runtime/ut/CMakeLists.darwin.txt +++ b/ydb/core/kqp/runtime/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-kqp-runtime-ut PUBLIC core-testlib-basics udf-service-exception_policy ) +target_link_options(ydb-core-kqp-runtime-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-kqp-runtime-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/runtime/kqp_scan_data_ut.cpp ) @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-runtime-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-kqp-runtime-ut) diff --git a/ydb/core/kqp/runtime/ut/CMakeLists.linux.txt b/ydb/core/kqp/runtime/ut/CMakeLists.linux.txt index 50d9898aeb..213cc4c01a 100644 --- a/ydb/core/kqp/runtime/ut/CMakeLists.linux.txt +++ b/ydb/core/kqp/runtime/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-kqp-runtime-ut PUBLIC core-testlib-basics udf-service-exception_policy ) +target_link_options(ydb-core-kqp-runtime-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-kqp-runtime-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/runtime/kqp_scan_data_ut.cpp ) @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-runtime-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-kqp-runtime-ut) diff --git a/ydb/core/kqp/ut/CMakeLists.darwin.txt b/ydb/core/kqp/ut/CMakeLists.darwin.txt index e06351bcca..9950e1789e 100644 --- a/ydb/core/kqp/ut/CMakeLists.darwin.txt +++ b/ydb/core/kqp/ut/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-kqp-ut PUBLIC cpp-client-draft cpp-client-ydb_proto ) +target_link_options(ydb-core-kqp-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-kqp-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_acl_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_arrow_in_channels_ut.cpp @@ -80,15 +88,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-kqp-ut) diff --git a/ydb/core/kqp/ut/CMakeLists.linux.txt b/ydb/core/kqp/ut/CMakeLists.linux.txt index 460c046d66..9ec84ecb1c 100644 --- a/ydb/core/kqp/ut/CMakeLists.linux.txt +++ b/ydb/core/kqp/ut/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-kqp-ut PUBLIC cpp-client-draft cpp-client-ydb_proto ) +target_link_options(ydb-core-kqp-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-kqp-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_acl_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/kqp_arrow_in_channels_ut.cpp @@ -81,15 +91,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-kqp-ut) diff --git a/ydb/core/kqp/ut/fat/CMakeLists.darwin.txt b/ydb/core/kqp/ut/fat/CMakeLists.darwin.txt index 2559b5218e..975cf7d001 100644 --- a/ydb/core/kqp/ut/fat/CMakeLists.darwin.txt +++ b/ydb/core/kqp/ut/fat/CMakeLists.darwin.txt @@ -26,6 +26,14 @@ target_link_libraries(ydb-core-kqp-ut-fat PUBLIC core-kqp-provider kqp-ut-common ) +target_link_options(ydb-core-kqp-ut-fat PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-kqp-ut-fat PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/fat/kqp_force_newengine_ut.cpp ) @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-ut-fat - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-kqp-ut-fat) diff --git a/ydb/core/kqp/ut/fat/CMakeLists.linux.txt b/ydb/core/kqp/ut/fat/CMakeLists.linux.txt index 399a2758cd..807e575e45 100644 --- a/ydb/core/kqp/ut/fat/CMakeLists.linux.txt +++ b/ydb/core/kqp/ut/fat/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-core-kqp-ut-fat PUBLIC core-kqp-provider kqp-ut-common ) +target_link_options(ydb-core-kqp-ut-fat PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-kqp-ut-fat PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/kqp/ut/fat/kqp_force_newengine_ut.cpp ) @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-kqp-ut-fat - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-kqp-ut-fat) diff --git a/ydb/core/metering/ut/CMakeLists.darwin.txt b/ydb/core/metering/ut/CMakeLists.darwin.txt index 3cc6596658..6007b0d8eb 100644 --- a/ydb/core/metering/ut/CMakeLists.darwin.txt +++ b/ydb/core/metering/ut/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ydb-core-metering-ut PUBLIC cpp-testing-unittest_main ydb-core-metering ) +target_link_options(ydb-core-metering-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-metering-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/metering/time_grid_ut.cpp ) @@ -32,15 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-metering-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-metering-ut) diff --git a/ydb/core/metering/ut/CMakeLists.linux.txt b/ydb/core/metering/ut/CMakeLists.linux.txt index 72d865a062..03d685e6ab 100644 --- a/ydb/core/metering/ut/CMakeLists.linux.txt +++ b/ydb/core/metering/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-core-metering-ut PUBLIC cpp-testing-unittest_main ydb-core-metering ) +target_link_options(ydb-core-metering-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-metering-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/metering/time_grid_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-metering-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-metering-ut) diff --git a/ydb/core/mind/address_classification/ut/CMakeLists.darwin.txt b/ydb/core/mind/address_classification/ut/CMakeLists.darwin.txt index 30726f7308..40e5b3b649 100644 --- a/ydb/core/mind/address_classification/ut/CMakeLists.darwin.txt +++ b/ydb/core/mind/address_classification/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-mind-address_classification-ut PUBLIC cpp-actors-http ydb-core-testlib ) +target_link_options(ydb-core-mind-address_classification-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-mind-address_classification-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/address_classification/net_classifier_ut.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-address_classification-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-mind-address_classification-ut) diff --git a/ydb/core/mind/address_classification/ut/CMakeLists.linux.txt b/ydb/core/mind/address_classification/ut/CMakeLists.linux.txt index 05e8da9587..b500c306da 100644 --- a/ydb/core/mind/address_classification/ut/CMakeLists.linux.txt +++ b/ydb/core/mind/address_classification/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-mind-address_classification-ut PUBLIC cpp-actors-http ydb-core-testlib ) +target_link_options(ydb-core-mind-address_classification-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-mind-address_classification-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/address_classification/net_classifier_ut.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-address_classification-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-mind-address_classification-ut) diff --git a/ydb/core/mind/bscontroller/ut/CMakeLists.darwin.txt b/ydb/core/mind/bscontroller/ut/CMakeLists.darwin.txt index 81901259c1..9596b2d708 100644 --- a/ydb/core/mind/bscontroller/ut/CMakeLists.darwin.txt +++ b/ydb/core/mind/bscontroller/ut/CMakeLists.darwin.txt @@ -20,6 +20,14 @@ target_link_libraries(ydb-core-mind-bscontroller-ut PUBLIC cpp-actors-util ydb-core-yql_testlib ) +target_link_options(ydb-core-mind-bscontroller-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-mind-bscontroller-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/grouper_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/group_mapper_ut.cpp @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-bscontroller-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-mind-bscontroller-ut) diff --git a/ydb/core/mind/bscontroller/ut/CMakeLists.linux.txt b/ydb/core/mind/bscontroller/ut/CMakeLists.linux.txt index 260b192f4c..8e17cdd72d 100644 --- a/ydb/core/mind/bscontroller/ut/CMakeLists.linux.txt +++ b/ydb/core/mind/bscontroller/ut/CMakeLists.linux.txt @@ -21,6 +21,16 @@ target_link_libraries(ydb-core-mind-bscontroller-ut PUBLIC cpp-actors-util ydb-core-yql_testlib ) +target_link_options(ydb-core-mind-bscontroller-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-mind-bscontroller-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/grouper_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/group_mapper_ut.cpp @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-bscontroller-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-mind-bscontroller-ut) diff --git a/ydb/core/mind/bscontroller/ut_bscontroller/CMakeLists.darwin.txt b/ydb/core/mind/bscontroller/ut_bscontroller/CMakeLists.darwin.txt index 78c32e639f..0b9fa6d82c 100644 --- a/ydb/core/mind/bscontroller/ut_bscontroller/CMakeLists.darwin.txt +++ b/ydb/core/mind/bscontroller/ut_bscontroller/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-mind-bscontroller-ut_bscontroller PUBLIC ydb-core-testlib core-testlib-basics ) +target_link_options(ydb-core-mind-bscontroller-ut_bscontroller PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-mind-bscontroller-ut_bscontroller PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/ut_bscontroller/main.cpp ) @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-bscontroller-ut_bscontroller - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-mind-bscontroller-ut_bscontroller) diff --git a/ydb/core/mind/bscontroller/ut_bscontroller/CMakeLists.linux.txt b/ydb/core/mind/bscontroller/ut_bscontroller/CMakeLists.linux.txt index 6d57859fdd..7be35bbda9 100644 --- a/ydb/core/mind/bscontroller/ut_bscontroller/CMakeLists.linux.txt +++ b/ydb/core/mind/bscontroller/ut_bscontroller/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-mind-bscontroller-ut_bscontroller PUBLIC ydb-core-testlib core-testlib-basics ) +target_link_options(ydb-core-mind-bscontroller-ut_bscontroller PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-mind-bscontroller-ut_bscontroller PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/ut_bscontroller/main.cpp ) @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-bscontroller-ut_bscontroller - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-mind-bscontroller-ut_bscontroller) diff --git a/ydb/core/mind/bscontroller/ut_selfheal/CMakeLists.darwin.txt b/ydb/core/mind/bscontroller/ut_selfheal/CMakeLists.darwin.txt index eaf181c034..4d7c639883 100644 --- a/ydb/core/mind/bscontroller/ut_selfheal/CMakeLists.darwin.txt +++ b/ydb/core/mind/bscontroller/ut_selfheal/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-mind-bscontroller-ut_selfheal PUBLIC udf-service-stub yql-sql-pg_dummy ) +target_link_options(ydb-core-mind-bscontroller-ut_selfheal PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-mind-bscontroller-ut_selfheal PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/ut_selfheal/main.cpp ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/ut_selfheal/self_heal_actor_ut.cpp @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-bscontroller-ut_selfheal - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-mind-bscontroller-ut_selfheal) diff --git a/ydb/core/mind/bscontroller/ut_selfheal/CMakeLists.linux.txt b/ydb/core/mind/bscontroller/ut_selfheal/CMakeLists.linux.txt index 5f874840d3..5e925574ad 100644 --- a/ydb/core/mind/bscontroller/ut_selfheal/CMakeLists.linux.txt +++ b/ydb/core/mind/bscontroller/ut_selfheal/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-mind-bscontroller-ut_selfheal PUBLIC udf-service-stub yql-sql-pg_dummy ) +target_link_options(ydb-core-mind-bscontroller-ut_selfheal PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-mind-bscontroller-ut_selfheal PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/ut_selfheal/main.cpp ${CMAKE_SOURCE_DIR}/ydb/core/mind/bscontroller/ut_selfheal/self_heal_actor_ut.cpp @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-bscontroller-ut_selfheal - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-mind-bscontroller-ut_selfheal) diff --git a/ydb/core/mind/hive/ut/CMakeLists.darwin.txt b/ydb/core/mind/hive/ut/CMakeLists.darwin.txt index 12d0b077b1..5811cd42ac 100644 --- a/ydb/core/mind/hive/ut/CMakeLists.darwin.txt +++ b/ydb/core/mind/hive/ut/CMakeLists.darwin.txt @@ -26,6 +26,14 @@ target_link_libraries(ydb-core-mind-hive-ut PUBLIC ydb-core-mind ydb-core-testlib ) +target_link_options(ydb-core-mind-hive-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-mind-hive-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/hive/sequencer_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/mind/hive/storage_pool_info_ut.cpp @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-hive-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-mind-hive-ut) diff --git a/ydb/core/mind/hive/ut/CMakeLists.linux.txt b/ydb/core/mind/hive/ut/CMakeLists.linux.txt index 0fc27bbb9f..d763a26e1b 100644 --- a/ydb/core/mind/hive/ut/CMakeLists.linux.txt +++ b/ydb/core/mind/hive/ut/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-core-mind-hive-ut PUBLIC ydb-core-mind ydb-core-testlib ) +target_link_options(ydb-core-mind-hive-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-mind-hive-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/hive/sequencer_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/mind/hive/storage_pool_info_ut.cpp @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-hive-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-mind-hive-ut) diff --git a/ydb/core/mind/ut/CMakeLists.darwin.txt b/ydb/core/mind/ut/CMakeLists.darwin.txt index d034704e15..b8a7b1070e 100644 --- a/ydb/core/mind/ut/CMakeLists.darwin.txt +++ b/ydb/core/mind/ut/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-mind-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-mind-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-mind-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/node_broker_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/mind/tenant_ut_broker.cpp @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-mind-ut) diff --git a/ydb/core/mind/ut/CMakeLists.linux.txt b/ydb/core/mind/ut/CMakeLists.linux.txt index 64a48172cc..2a3a2b036d 100644 --- a/ydb/core/mind/ut/CMakeLists.linux.txt +++ b/ydb/core/mind/ut/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-mind-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-mind-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-mind-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/node_broker_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/mind/tenant_ut_broker.cpp @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-mind-ut) diff --git a/ydb/core/mind/ut_fat/CMakeLists.darwin.txt b/ydb/core/mind/ut_fat/CMakeLists.darwin.txt index 9661a6defe..c72c32ff06 100644 --- a/ydb/core/mind/ut_fat/CMakeLists.darwin.txt +++ b/ydb/core/mind/ut_fat/CMakeLists.darwin.txt @@ -31,6 +31,14 @@ target_link_libraries(ydb-core-mind-ut_fat PUBLIC blobstorage-vdisk-common ydb-core-testlib ) +target_link_options(ydb-core-mind-ut_fat PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-mind-ut_fat PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/ut_fat/blobstorage_node_warden_ut_fat.cpp ) @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-ut_fat - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-mind-ut_fat) diff --git a/ydb/core/mind/ut_fat/CMakeLists.linux.txt b/ydb/core/mind/ut_fat/CMakeLists.linux.txt index cea41ef423..6dba6c4446 100644 --- a/ydb/core/mind/ut_fat/CMakeLists.linux.txt +++ b/ydb/core/mind/ut_fat/CMakeLists.linux.txt @@ -32,6 +32,16 @@ target_link_libraries(ydb-core-mind-ut_fat PUBLIC blobstorage-vdisk-common ydb-core-testlib ) +target_link_options(ydb-core-mind-ut_fat PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-mind-ut_fat PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/mind/ut_fat/blobstorage_node_warden_ut_fat.cpp ) @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-mind-ut_fat - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-mind-ut_fat) diff --git a/ydb/core/persqueue/ut/CMakeLists.darwin.txt b/ydb/core/persqueue/ut/CMakeLists.darwin.txt index c6d000b941..ede307523e 100644 --- a/ydb/core/persqueue/ut/CMakeLists.darwin.txt +++ b/ydb/core/persqueue/ut/CMakeLists.darwin.txt @@ -26,6 +26,14 @@ target_link_libraries(ydb-core-persqueue-ut PUBLIC ydb-core-testlib ydb_persqueue_core-ut-ut_utils ) +target_link_options(ydb-core-persqueue-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-persqueue-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/internals_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/mirrorer_ut.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-persqueue-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-persqueue-ut) diff --git a/ydb/core/persqueue/ut/CMakeLists.linux.txt b/ydb/core/persqueue/ut/CMakeLists.linux.txt index bb2748aacf..605eb3edbf 100644 --- a/ydb/core/persqueue/ut/CMakeLists.linux.txt +++ b/ydb/core/persqueue/ut/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-core-persqueue-ut PUBLIC ydb-core-testlib ydb_persqueue_core-ut-ut_utils ) +target_link_options(ydb-core-persqueue-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-persqueue-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/internals_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/mirrorer_ut.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-persqueue-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-persqueue-ut) diff --git a/ydb/core/persqueue/ut_slow/CMakeLists.darwin.txt b/ydb/core/persqueue/ut_slow/CMakeLists.darwin.txt index 96059108a8..5d657b27d5 100644 --- a/ydb/core/persqueue/ut_slow/CMakeLists.darwin.txt +++ b/ydb/core/persqueue/ut_slow/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-persqueue-ut_slow PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-persqueue-ut_slow PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-persqueue-ut_slow PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/pq_ut_slow.cpp ) @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-persqueue-ut_slow - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-persqueue-ut_slow) diff --git a/ydb/core/persqueue/ut_slow/CMakeLists.linux.txt b/ydb/core/persqueue/ut_slow/CMakeLists.linux.txt index 111bb8b93e..40fe947517 100644 --- a/ydb/core/persqueue/ut_slow/CMakeLists.linux.txt +++ b/ydb/core/persqueue/ut_slow/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-persqueue-ut_slow PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-persqueue-ut_slow PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-persqueue-ut_slow PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/persqueue/pq_ut_slow.cpp ) @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-persqueue-ut_slow - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-persqueue-ut_slow) diff --git a/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.darwin.txt b/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.darwin.txt index 417b260d62..1af9c18554 100644 --- a/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.darwin.txt +++ b/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.darwin.txt @@ -22,20 +22,17 @@ target_link_libraries(quoter_service_bandwidth_test PUBLIC ydb-core-quoter ydb-core-testlib ) -target_sources(quoter_service_bandwidth_test PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/main.cpp - ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/quota_requester.cpp - ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/server.cpp -) -target_link_flags(quoter_service_bandwidth_test - PUBLIC +target_link_options(quoter_service_bandwidth_test PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC -framework CoreFoundation - -framework - CoreFoundation +) +target_sources(quoter_service_bandwidth_test PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/quota_requester.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/server.cpp ) vcs_info(quoter_service_bandwidth_test) diff --git a/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.linux.txt b/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.linux.txt index 30f31d310c..44da4d7359 100644 --- a/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.linux.txt +++ b/ydb/core/quoter/quoter_service_bandwidth_test/CMakeLists.linux.txt @@ -23,13 +23,7 @@ target_link_libraries(quoter_service_bandwidth_test PUBLIC ydb-core-quoter ydb-core-testlib ) -target_sources(quoter_service_bandwidth_test PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/main.cpp - ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/quota_requester.cpp - ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/server.cpp -) -target_link_flags(quoter_service_bandwidth_test - PUBLIC +target_link_options(quoter_service_bandwidth_test PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -39,4 +33,9 @@ target_link_flags(quoter_service_bandwidth_test -lrt -ldl ) +target_sources(quoter_service_bandwidth_test PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/quota_requester.cpp + ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_bandwidth_test/server.cpp +) vcs_info(quoter_service_bandwidth_test) diff --git a/ydb/core/quoter/ut/CMakeLists.darwin.txt b/ydb/core/quoter/ut/CMakeLists.darwin.txt index ec2b81d611..07877e8568 100644 --- a/ydb/core/quoter/ut/CMakeLists.darwin.txt +++ b/ydb/core/quoter/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-quoter-ut PUBLIC cpp-testing-gmock_in_unittest ydb-core-testlib ) +target_link_options(ydb-core-quoter-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-quoter-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/quoter/kesus_quoter_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_ut.cpp @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-quoter-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-quoter-ut) diff --git a/ydb/core/quoter/ut/CMakeLists.linux.txt b/ydb/core/quoter/ut/CMakeLists.linux.txt index 5cb1423804..d8ac722e6b 100644 --- a/ydb/core/quoter/ut/CMakeLists.linux.txt +++ b/ydb/core/quoter/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-quoter-ut PUBLIC cpp-testing-gmock_in_unittest ydb-core-testlib ) +target_link_options(ydb-core-quoter-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-quoter-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/quoter/kesus_quoter_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/quoter/quoter_service_ut.cpp @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-quoter-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-quoter-ut) diff --git a/ydb/core/scheme/ut/CMakeLists.darwin.txt b/ydb/core/scheme/ut/CMakeLists.darwin.txt index f1dc3307de..b4acf0aa96 100644 --- a/ydb/core/scheme/ut/CMakeLists.darwin.txt +++ b/ydb/core/scheme/ut/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ydb-core-scheme-ut PUBLIC cpp-testing-unittest_main ydb-core-scheme ) +target_link_options(ydb-core-scheme-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-scheme-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/scheme/scheme_borders_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/scheme/scheme_tablecell_ut.cpp @@ -33,15 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-scheme-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-scheme-ut) diff --git a/ydb/core/scheme/ut/CMakeLists.linux.txt b/ydb/core/scheme/ut/CMakeLists.linux.txt index 978fb2ee50..619a43ed3a 100644 --- a/ydb/core/scheme/ut/CMakeLists.linux.txt +++ b/ydb/core/scheme/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-core-scheme-ut PUBLIC cpp-testing-unittest_main ydb-core-scheme ) +target_link_options(ydb-core-scheme-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-scheme-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/scheme/scheme_borders_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/scheme/scheme_tablecell_ut.cpp @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-scheme-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-scheme-ut) diff --git a/ydb/core/security/ut/CMakeLists.darwin.txt b/ydb/core/security/ut/CMakeLists.darwin.txt index e16db7dfae..52dfdab20d 100644 --- a/ydb/core/security/ut/CMakeLists.darwin.txt +++ b/ydb/core/security/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-security-ut PUBLIC ydb-core-security ydb-core-testlib ) +target_link_options(ydb-core-security-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-security-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/security/ticket_parser_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-security-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-security-ut) diff --git a/ydb/core/security/ut/CMakeLists.linux.txt b/ydb/core/security/ut/CMakeLists.linux.txt index d748059c5a..3a8f60004c 100644 --- a/ydb/core/security/ut/CMakeLists.linux.txt +++ b/ydb/core/security/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-security-ut PUBLIC ydb-core-security ydb-core-testlib ) +target_link_options(ydb-core-security-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-security-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/security/ticket_parser_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-security-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-security-ut) diff --git a/ydb/core/sys_view/partition_stats/ut/CMakeLists.darwin.txt b/ydb/core/sys_view/partition_stats/ut/CMakeLists.darwin.txt index 6ffea1e822..f82873c42b 100644 --- a/ydb/core/sys_view/partition_stats/ut/CMakeLists.darwin.txt +++ b/ydb/core/sys_view/partition_stats/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-sys_view-partition_stats-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-sys_view-partition_stats-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-sys_view-partition_stats-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/partition_stats/partition_stats_ut.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-sys_view-partition_stats-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-sys_view-partition_stats-ut) diff --git a/ydb/core/sys_view/partition_stats/ut/CMakeLists.linux.txt b/ydb/core/sys_view/partition_stats/ut/CMakeLists.linux.txt index 7e9b3bc69d..980dc9c646 100644 --- a/ydb/core/sys_view/partition_stats/ut/CMakeLists.linux.txt +++ b/ydb/core/sys_view/partition_stats/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-sys_view-partition_stats-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-sys_view-partition_stats-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-sys_view-partition_stats-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/partition_stats/partition_stats_ut.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-sys_view-partition_stats-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-sys_view-partition_stats-ut) diff --git a/ydb/core/sys_view/query_stats/ut/CMakeLists.darwin.txt b/ydb/core/sys_view/query_stats/ut/CMakeLists.darwin.txt index 5430756de5..3d0204c86e 100644 --- a/ydb/core/sys_view/query_stats/ut/CMakeLists.darwin.txt +++ b/ydb/core/sys_view/query_stats/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-sys_view-query_stats-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-sys_view-query_stats-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-sys_view-query_stats-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/query_stats/query_stats_ut.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-sys_view-query_stats-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-sys_view-query_stats-ut) diff --git a/ydb/core/sys_view/query_stats/ut/CMakeLists.linux.txt b/ydb/core/sys_view/query_stats/ut/CMakeLists.linux.txt index 5d0e327034..bbe8d45e01 100644 --- a/ydb/core/sys_view/query_stats/ut/CMakeLists.linux.txt +++ b/ydb/core/sys_view/query_stats/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-sys_view-query_stats-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-sys_view-query_stats-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-sys_view-query_stats-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/query_stats/query_stats_ut.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-sys_view-query_stats-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-sys_view-query_stats-ut) diff --git a/ydb/core/sys_view/service/ut/CMakeLists.darwin.txt b/ydb/core/sys_view/service/ut/CMakeLists.darwin.txt index 13d2a58308..379455bab9 100644 --- a/ydb/core/sys_view/service/ut/CMakeLists.darwin.txt +++ b/ydb/core/sys_view/service/ut/CMakeLists.darwin.txt @@ -19,6 +19,14 @@ target_link_libraries(ydb-core-sys_view-service-ut PUBLIC core-sys_view-service cpp-testing-unittest ) +target_link_options(ydb-core-sys_view-service-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-sys_view-service-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/service/query_history_ut.cpp ) @@ -33,15 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-sys_view-service-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-sys_view-service-ut) diff --git a/ydb/core/sys_view/service/ut/CMakeLists.linux.txt b/ydb/core/sys_view/service/ut/CMakeLists.linux.txt index 86a3d89dce..d689d611ae 100644 --- a/ydb/core/sys_view/service/ut/CMakeLists.linux.txt +++ b/ydb/core/sys_view/service/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-core-sys_view-service-ut PUBLIC core-sys_view-service cpp-testing-unittest ) +target_link_options(ydb-core-sys_view-service-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-sys_view-service-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/service/query_history_ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-sys_view-service-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-sys_view-service-ut) diff --git a/ydb/core/sys_view/ut_kqp/CMakeLists.darwin.txt b/ydb/core/sys_view/ut_kqp/CMakeLists.darwin.txt index 3dcf2e2671..f4db6ac068 100644 --- a/ydb/core/sys_view/ut_kqp/CMakeLists.darwin.txt +++ b/ydb/core/sys_view/ut_kqp/CMakeLists.darwin.txt @@ -26,6 +26,14 @@ target_link_libraries(ydb-core-sys_view-ut_kqp PUBLIC ydb-core-testlib cpp-client-draft ) +target_link_options(ydb-core-sys_view-ut_kqp PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-sys_view-ut_kqp PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/ut_kqp.cpp ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/ut_common.cpp @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-sys_view-ut_kqp - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-sys_view-ut_kqp) diff --git a/ydb/core/sys_view/ut_kqp/CMakeLists.linux.txt b/ydb/core/sys_view/ut_kqp/CMakeLists.linux.txt index f72292e05f..ebe61b20b3 100644 --- a/ydb/core/sys_view/ut_kqp/CMakeLists.linux.txt +++ b/ydb/core/sys_view/ut_kqp/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-core-sys_view-ut_kqp PUBLIC ydb-core-testlib cpp-client-draft ) +target_link_options(ydb-core-sys_view-ut_kqp PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-sys_view-ut_kqp PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/ut_kqp.cpp ${CMAKE_SOURCE_DIR}/ydb/core/sys_view/ut_common.cpp @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-sys_view-ut_kqp - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-sys_view-ut_kqp) diff --git a/ydb/core/tablet/ut/CMakeLists.darwin.txt b/ydb/core/tablet/ut/CMakeLists.darwin.txt index 51b5064b70..7b6f290b15 100644 --- a/ydb/core/tablet/ut/CMakeLists.darwin.txt +++ b/ydb/core/tablet/ut/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-tablet-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-tablet-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tablet-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tablet/pipe_tracker_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tablet/resource_broker_ut.cpp @@ -46,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tablet-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tablet-ut) diff --git a/ydb/core/tablet/ut/CMakeLists.linux.txt b/ydb/core/tablet/ut/CMakeLists.linux.txt index 00ea5c8fb5..78df250d23 100644 --- a/ydb/core/tablet/ut/CMakeLists.linux.txt +++ b/ydb/core/tablet/ut/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-tablet-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-core-tablet-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tablet-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tablet/pipe_tracker_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tablet/resource_broker_ut.cpp @@ -47,15 +57,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tablet-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tablet-ut) diff --git a/ydb/core/tablet_flat/ut/CMakeLists.darwin.txt b/ydb/core/tablet_flat/ut/CMakeLists.darwin.txt index c5146c6184..f3f8405b23 100644 --- a/ydb/core/tablet_flat/ut/CMakeLists.darwin.txt +++ b/ydb/core/tablet_flat/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-tablet_flat-ut PUBLIC ydb-core-testlib udf-service-exception_policy ) +target_link_options(ydb-core-tablet_flat-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tablet_flat-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/datetime_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/decimal_ut.cpp @@ -84,15 +92,4 @@ resources(ydb-core-tablet_flat-ut abi/002_full_part.pages abi/008_basics_db.redo ) -target_link_flags(ydb-core-tablet_flat-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tablet_flat-ut) diff --git a/ydb/core/tablet_flat/ut/CMakeLists.linux.txt b/ydb/core/tablet_flat/ut/CMakeLists.linux.txt index fff5984997..0952e071d2 100644 --- a/ydb/core/tablet_flat/ut/CMakeLists.linux.txt +++ b/ydb/core/tablet_flat/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-tablet_flat-ut PUBLIC ydb-core-testlib udf-service-exception_policy ) +target_link_options(ydb-core-tablet_flat-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tablet_flat-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/datetime_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/decimal_ut.cpp @@ -85,15 +95,4 @@ resources(ydb-core-tablet_flat-ut abi/002_full_part.pages abi/008_basics_db.redo ) -target_link_flags(ydb-core-tablet_flat-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tablet_flat-ut) diff --git a/ydb/core/tablet_flat/ut_large/CMakeLists.darwin.txt b/ydb/core/tablet_flat/ut_large/CMakeLists.darwin.txt index b47fba34e6..f0101fd708 100644 --- a/ydb/core/tablet_flat/ut_large/CMakeLists.darwin.txt +++ b/ydb/core/tablet_flat/ut_large/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-tablet_flat-ut_large PUBLIC test-libs-table udf-service-exception_policy ) +target_link_options(ydb-core-tablet_flat-ut_large PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tablet_flat-ut_large PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/flat_executor_ut_large.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tablet_flat-ut_large - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tablet_flat-ut_large) diff --git a/ydb/core/tablet_flat/ut_large/CMakeLists.linux.txt b/ydb/core/tablet_flat/ut_large/CMakeLists.linux.txt index 373969190a..00687a11c6 100644 --- a/ydb/core/tablet_flat/ut_large/CMakeLists.linux.txt +++ b/ydb/core/tablet_flat/ut_large/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-tablet_flat-ut_large PUBLIC test-libs-table udf-service-exception_policy ) +target_link_options(ydb-core-tablet_flat-ut_large PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tablet_flat-ut_large PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tablet_flat/flat_executor_ut_large.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tablet_flat-ut_large - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tablet_flat-ut_large) diff --git a/ydb/core/testlib/actors/ut/CMakeLists.darwin.txt b/ydb/core/testlib/actors/ut/CMakeLists.darwin.txt index 731f14b0fa..f220955d2c 100644 --- a/ydb/core/testlib/actors/ut/CMakeLists.darwin.txt +++ b/ydb/core/testlib/actors/ut/CMakeLists.darwin.txt @@ -21,6 +21,14 @@ target_link_libraries(ydb-core-testlib-actors-ut PUBLIC library-cpp-svnversion cpp-regex-pcre ) +target_link_options(ydb-core-testlib-actors-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-testlib-actors-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/testlib/actors/test_runtime_ut.cpp ) @@ -35,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-testlib-actors-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-testlib-actors-ut) diff --git a/ydb/core/testlib/actors/ut/CMakeLists.linux.txt b/ydb/core/testlib/actors/ut/CMakeLists.linux.txt index eb6bb3640e..c5923e57e3 100644 --- a/ydb/core/testlib/actors/ut/CMakeLists.linux.txt +++ b/ydb/core/testlib/actors/ut/CMakeLists.linux.txt @@ -22,6 +22,16 @@ target_link_libraries(ydb-core-testlib-actors-ut PUBLIC library-cpp-svnversion cpp-regex-pcre ) +target_link_options(ydb-core-testlib-actors-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-testlib-actors-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/testlib/actors/test_runtime_ut.cpp ) @@ -36,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-testlib-actors-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-testlib-actors-ut) diff --git a/ydb/core/tx/balance_coverage/ut/CMakeLists.darwin.txt b/ydb/core/tx/balance_coverage/ut/CMakeLists.darwin.txt index dbfe814a11..b4f3bbee63 100644 --- a/ydb/core/tx/balance_coverage/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/balance_coverage/ut/CMakeLists.darwin.txt @@ -20,6 +20,14 @@ target_link_libraries(ydb-core-tx-balance_coverage-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-tx-balance_coverage-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-balance_coverage-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/balance_coverage/balance_coverage_builder_ut.cpp ) @@ -34,15 +42,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-balance_coverage-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-balance_coverage-ut) diff --git a/ydb/core/tx/balance_coverage/ut/CMakeLists.linux.txt b/ydb/core/tx/balance_coverage/ut/CMakeLists.linux.txt index d4fab506d4..8bb9d9929a 100644 --- a/ydb/core/tx/balance_coverage/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/balance_coverage/ut/CMakeLists.linux.txt @@ -21,6 +21,16 @@ target_link_libraries(ydb-core-tx-balance_coverage-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-tx-balance_coverage-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-balance_coverage-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/balance_coverage/balance_coverage_builder_ut.cpp ) @@ -35,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-balance_coverage-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-balance_coverage-ut) diff --git a/ydb/core/tx/columnshard/engines/ut/CMakeLists.darwin.txt b/ydb/core/tx/columnshard/engines/ut/CMakeLists.darwin.txt index a145d84719..4388cb5c2d 100644 --- a/ydb/core/tx/columnshard/engines/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/columnshard/engines/ut/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-tx-columnshard-engines-ut PUBLIC ydb-core-tablet ydb-core-tablet_flat ) +target_link_options(ydb-core-tx-columnshard-engines-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-columnshard-engines-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/engines/ut_insert_table.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/engines/ut_logs_engine.cpp @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-columnshard-engines-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-columnshard-engines-ut) diff --git a/ydb/core/tx/columnshard/engines/ut/CMakeLists.linux.txt b/ydb/core/tx/columnshard/engines/ut/CMakeLists.linux.txt index b956e6ca02..295702a2f8 100644 --- a/ydb/core/tx/columnshard/engines/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/columnshard/engines/ut/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-tx-columnshard-engines-ut PUBLIC ydb-core-tablet ydb-core-tablet_flat ) +target_link_options(ydb-core-tx-columnshard-engines-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-columnshard-engines-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/engines/ut_insert_table.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/engines/ut_logs_engine.cpp @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-columnshard-engines-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-columnshard-engines-ut) diff --git a/ydb/core/tx/columnshard/ut/CMakeLists.darwin.txt b/ydb/core/tx/columnshard/ut/CMakeLists.darwin.txt index 5e0b68b062..64503d0cb5 100644 --- a/ydb/core/tx/columnshard/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/columnshard/ut/CMakeLists.darwin.txt @@ -27,6 +27,14 @@ target_link_libraries(ydb-core-tx-columnshard-ut PUBLIC ydb-core-tx public-lib-yson_value ) +target_link_options(ydb-core-tx-columnshard-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-columnshard-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/columnshard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/ut_columnshard_read_write.cpp @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-columnshard-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-columnshard-ut) diff --git a/ydb/core/tx/columnshard/ut/CMakeLists.linux.txt b/ydb/core/tx/columnshard/ut/CMakeLists.linux.txt index b2e5a0cb5d..2c757347ec 100644 --- a/ydb/core/tx/columnshard/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/columnshard/ut/CMakeLists.linux.txt @@ -28,6 +28,16 @@ target_link_libraries(ydb-core-tx-columnshard-ut PUBLIC ydb-core-tx public-lib-yson_value ) +target_link_options(ydb-core-tx-columnshard-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-columnshard-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/columnshard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/columnshard/ut_columnshard_read_write.cpp @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-columnshard-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-columnshard-ut) diff --git a/ydb/core/tx/coordinator/ut/CMakeLists.darwin.txt b/ydb/core/tx/coordinator/ut/CMakeLists.darwin.txt index 64f4e52f7f..56e660d083 100644 --- a/ydb/core/tx/coordinator/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/coordinator/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-tx-coordinator-ut PUBLIC ydb-core-testlib ydb-core-tx ) +target_link_options(ydb-core-tx-coordinator-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-coordinator-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/coordinator/coordinator_ut.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-coordinator-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-coordinator-ut) diff --git a/ydb/core/tx/coordinator/ut/CMakeLists.linux.txt b/ydb/core/tx/coordinator/ut/CMakeLists.linux.txt index ab643e68f4..85820f65f7 100644 --- a/ydb/core/tx/coordinator/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/coordinator/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-tx-coordinator-ut PUBLIC ydb-core-testlib ydb-core-tx ) +target_link_options(ydb-core-tx-coordinator-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-coordinator-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/coordinator/coordinator_ut.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-coordinator-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-coordinator-ut) diff --git a/ydb/core/tx/datashard/ut_background_compaction/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_background_compaction/CMakeLists.darwin.txt index 5d0ec83320..b104ecc1fc 100644 --- a/ydb/core/tx/datashard/ut_background_compaction/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_background_compaction/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_background_compaction PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_background_compaction PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_background_compaction PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_background_compaction.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_background_compaction - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_background_compaction) diff --git a/ydb/core/tx/datashard/ut_background_compaction/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_background_compaction/CMakeLists.linux.txt index ee6451638f..b2ca09e0f1 100644 --- a/ydb/core/tx/datashard/ut_background_compaction/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_background_compaction/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_background_compaction PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_background_compaction PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_background_compaction PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_background_compaction.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_background_compaction - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_background_compaction) diff --git a/ydb/core/tx/datashard/ut_build_index/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_build_index/CMakeLists.darwin.txt index fdacf228cc..b6be99c371 100644 --- a/ydb/core/tx/datashard/ut_build_index/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_build_index/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_build_index PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_build_index PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_build_index PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_build_index.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_build_index - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_build_index) diff --git a/ydb/core/tx/datashard/ut_build_index/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_build_index/CMakeLists.linux.txt index ed659265db..fd3d9a950c 100644 --- a/ydb/core/tx/datashard/ut_build_index/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_build_index/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_build_index PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_build_index PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_build_index PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_build_index.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_build_index - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_build_index) diff --git a/ydb/core/tx/datashard/ut_change_collector/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_change_collector/CMakeLists.darwin.txt index b83a024d28..35a98725cc 100644 --- a/ydb/core/tx/datashard/ut_change_collector/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_change_collector/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_change_collector PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_change_collector PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_change_collector PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_change_collector.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_change_collector - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_change_collector) diff --git a/ydb/core/tx/datashard/ut_change_collector/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_change_collector/CMakeLists.linux.txt index a673a5e0a3..25a39427e4 100644 --- a/ydb/core/tx/datashard/ut_change_collector/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_change_collector/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_change_collector PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_change_collector PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_change_collector PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_change_collector.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_change_collector - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_change_collector) diff --git a/ydb/core/tx/datashard/ut_change_exchange/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_change_exchange/CMakeLists.darwin.txt index 8fabff31b6..9eead1d0b2 100644 --- a/ydb/core/tx/datashard/ut_change_exchange/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_change_exchange/CMakeLists.darwin.txt @@ -32,6 +32,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_change_exchange PUBLIC cpp-client-ydb_persqueue_public cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_change_exchange PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_change_exchange PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_change_exchange.cpp @@ -47,15 +55,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_change_exchange - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_change_exchange) diff --git a/ydb/core/tx/datashard/ut_change_exchange/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_change_exchange/CMakeLists.linux.txt index 267d3ce3fc..499144618c 100644 --- a/ydb/core/tx/datashard/ut_change_exchange/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_change_exchange/CMakeLists.linux.txt @@ -33,6 +33,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_change_exchange PUBLIC cpp-client-ydb_persqueue_public cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_change_exchange PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_change_exchange PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_change_exchange.cpp @@ -48,15 +58,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_change_exchange - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_change_exchange) diff --git a/ydb/core/tx/datashard/ut_compaction/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_compaction/CMakeLists.darwin.txt index 63b8401c75..edb9f97cb2 100644 --- a/ydb/core/tx/datashard/ut_compaction/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_compaction/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_compaction PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_compaction PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_compaction PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_compaction.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_compaction - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_compaction) diff --git a/ydb/core/tx/datashard/ut_compaction/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_compaction/CMakeLists.linux.txt index dc370f7ed8..6e1902a646 100644 --- a/ydb/core/tx/datashard/ut_compaction/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_compaction/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_compaction PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_compaction PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_compaction PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_compaction.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_compaction - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_compaction) diff --git a/ydb/core/tx/datashard/ut_erase_rows/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_erase_rows/CMakeLists.darwin.txt index 2cdded5589..fb8a69abdb 100644 --- a/ydb/core/tx/datashard/ut_erase_rows/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_erase_rows/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_erase_rows PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_erase_rows PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_erase_rows PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_erase_rows.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_erase_rows - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_erase_rows) diff --git a/ydb/core/tx/datashard/ut_erase_rows/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_erase_rows/CMakeLists.linux.txt index 87b26a73f3..f640570293 100644 --- a/ydb/core/tx/datashard/ut_erase_rows/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_erase_rows/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_erase_rows PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_erase_rows PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_erase_rows PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_erase_rows.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_erase_rows - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_erase_rows) diff --git a/ydb/core/tx/datashard/ut_followers/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_followers/CMakeLists.darwin.txt index 8d79fc7f1c..6023c95cbf 100644 --- a/ydb/core/tx/datashard/ut_followers/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_followers/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_followers PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_followers PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_followers PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_followers.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_followers - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_followers) diff --git a/ydb/core/tx/datashard/ut_followers/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_followers/CMakeLists.linux.txt index f22a9b3b02..544b8728a1 100644 --- a/ydb/core/tx/datashard/ut_followers/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_followers/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_followers PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_followers PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_followers PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_followers.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_followers - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_followers) diff --git a/ydb/core/tx/datashard/ut_init/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_init/CMakeLists.darwin.txt index badadbe901..92caa4797c 100644 --- a/ydb/core/tx/datashard/ut_init/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_init/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_init PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_init PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_init PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_init.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_init - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_init) diff --git a/ydb/core/tx/datashard/ut_init/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_init/CMakeLists.linux.txt index c40c94f6e0..0960b78f71 100644 --- a/ydb/core/tx/datashard/ut_init/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_init/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_init PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_init PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_init PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_init.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_init - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_init) diff --git a/ydb/core/tx/datashard/ut_keys/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_keys/CMakeLists.darwin.txt index 25c2486fb2..c0ce3408aa 100644 --- a/ydb/core/tx/datashard/ut_keys/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_keys/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_keys PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_keys PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_keys PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_keys.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_keys - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_keys) diff --git a/ydb/core/tx/datashard/ut_keys/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_keys/CMakeLists.linux.txt index 304ce81df7..fa358e1ea0 100644 --- a/ydb/core/tx/datashard/ut_keys/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_keys/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_keys PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_keys PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_keys PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_keys.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_keys - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_keys) diff --git a/ydb/core/tx/datashard/ut_kqp/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_kqp/CMakeLists.darwin.txt index 957d3ca8a7..9bd12cd511 100644 --- a/ydb/core/tx/datashard/ut_kqp/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_kqp/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_kqp PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_kqp PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_kqp PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_kqp.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_kqp - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_kqp) diff --git a/ydb/core/tx/datashard/ut_kqp/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_kqp/CMakeLists.linux.txt index b0755ced77..0c216b1b82 100644 --- a/ydb/core/tx/datashard/ut_kqp/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_kqp/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_kqp PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_kqp PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_kqp PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_kqp.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_kqp - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_kqp) diff --git a/ydb/core/tx/datashard/ut_kqp_errors/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_kqp_errors/CMakeLists.darwin.txt index f1c0726973..29cb81173a 100644 --- a/ydb/core/tx/datashard/ut_kqp_errors/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_kqp_errors/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_kqp_errors PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_kqp_errors PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_kqp_errors PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_kqp_errors.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_kqp_errors - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_kqp_errors) diff --git a/ydb/core/tx/datashard/ut_kqp_errors/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_kqp_errors/CMakeLists.linux.txt index d79efd43f5..b70e8c2fa1 100644 --- a/ydb/core/tx/datashard/ut_kqp_errors/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_kqp_errors/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_kqp_errors PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_kqp_errors PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_kqp_errors PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_kqp_errors.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_kqp_errors - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_kqp_errors) diff --git a/ydb/core/tx/datashard/ut_kqp_scan/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_kqp_scan/CMakeLists.darwin.txt index 6d2406cf8a..4d8841b86b 100644 --- a/ydb/core/tx/datashard/ut_kqp_scan/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_kqp_scan/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_kqp_scan PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_kqp_scan PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_kqp_scan PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_kqp_scan.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_kqp_scan - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_kqp_scan) diff --git a/ydb/core/tx/datashard/ut_kqp_scan/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_kqp_scan/CMakeLists.linux.txt index 25395f042b..d902330f99 100644 --- a/ydb/core/tx/datashard/ut_kqp_scan/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_kqp_scan/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_kqp_scan PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_kqp_scan PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_kqp_scan PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_kqp_scan.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_kqp_scan - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_kqp_scan) diff --git a/ydb/core/tx/datashard/ut_locks/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_locks/CMakeLists.darwin.txt index 37402b5591..17033fa45e 100644 --- a/ydb/core/tx/datashard/ut_locks/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_locks/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_locks PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_locks PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_locks PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_locks.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_locks - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_locks) diff --git a/ydb/core/tx/datashard/ut_locks/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_locks/CMakeLists.linux.txt index 868baa0d0f..4858170940 100644 --- a/ydb/core/tx/datashard/ut_locks/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_locks/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_locks PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_locks PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_locks PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_locks.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_locks - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_locks) diff --git a/ydb/core/tx/datashard/ut_minikql/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_minikql/CMakeLists.darwin.txt index b7734890ed..0dac58cfd5 100644 --- a/ydb/core/tx/datashard/ut_minikql/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_minikql/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_minikql PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_minikql PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_minikql PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_minikql.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_minikql - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_minikql) diff --git a/ydb/core/tx/datashard/ut_minikql/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_minikql/CMakeLists.linux.txt index 4fc0b66c73..a7d76cb9f9 100644 --- a/ydb/core/tx/datashard/ut_minikql/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_minikql/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_minikql PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_minikql PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_minikql PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_minikql.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_minikql - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_minikql) diff --git a/ydb/core/tx/datashard/ut_minstep/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_minstep/CMakeLists.darwin.txt index 07e81ae7ca..7d72df2143 100644 --- a/ydb/core/tx/datashard/ut_minstep/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_minstep/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_minstep PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_minstep PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_minstep PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_minstep.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_minstep - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_minstep) diff --git a/ydb/core/tx/datashard/ut_minstep/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_minstep/CMakeLists.linux.txt index 6f794efd0a..a0b5005c41 100644 --- a/ydb/core/tx/datashard/ut_minstep/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_minstep/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_minstep PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_minstep PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_minstep PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_minstep.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_minstep - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_minstep) diff --git a/ydb/core/tx/datashard/ut_order/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_order/CMakeLists.darwin.txt index ebc7d1ba15..67dfe0c599 100644 --- a/ydb/core/tx/datashard/ut_order/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_order/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_order PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_order PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_order PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_order.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_order - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_order) diff --git a/ydb/core/tx/datashard/ut_order/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_order/CMakeLists.linux.txt index 7790174f88..9e7e5f1b43 100644 --- a/ydb/core/tx/datashard/ut_order/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_order/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_order PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_order PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_order PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_order.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_order - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_order) diff --git a/ydb/core/tx/datashard/ut_range_avl_tree/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_range_avl_tree/CMakeLists.darwin.txt index 4786352f22..b9e791805f 100644 --- a/ydb/core/tx/datashard/ut_range_avl_tree/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_range_avl_tree/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_range_avl_tree PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_range_avl_tree PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_range_avl_tree PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/range_avl_tree_ut.cpp ) @@ -44,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_range_avl_tree - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_range_avl_tree) diff --git a/ydb/core/tx/datashard/ut_range_avl_tree/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_range_avl_tree/CMakeLists.linux.txt index 17d9ae09b9..bf1cf51dab 100644 --- a/ydb/core/tx/datashard/ut_range_avl_tree/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_range_avl_tree/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_range_avl_tree PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_range_avl_tree PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_range_avl_tree PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/range_avl_tree_ut.cpp ) @@ -45,15 +55,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_range_avl_tree - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_range_avl_tree) diff --git a/ydb/core/tx/datashard/ut_range_ops/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_range_ops/CMakeLists.darwin.txt index 4e4daf3039..74a1e43f6c 100644 --- a/ydb/core/tx/datashard/ut_range_ops/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_range_ops/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_range_ops PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_range_ops PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_range_ops PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_range_ops.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_range_ops - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_range_ops) diff --git a/ydb/core/tx/datashard/ut_range_ops/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_range_ops/CMakeLists.linux.txt index a42d5f6257..58a7ccbd04 100644 --- a/ydb/core/tx/datashard/ut_range_ops/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_range_ops/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_range_ops PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_range_ops PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_range_ops PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_range_ops.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_range_ops - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_range_ops) diff --git a/ydb/core/tx/datashard/ut_range_treap/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_range_treap/CMakeLists.darwin.txt index 0df9154312..cb9b857279 100644 --- a/ydb/core/tx/datashard/ut_range_treap/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_range_treap/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_range_treap PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_range_treap PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_range_treap PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/range_treap_ut.cpp ) @@ -44,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_range_treap - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_range_treap) diff --git a/ydb/core/tx/datashard/ut_range_treap/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_range_treap/CMakeLists.linux.txt index f2a3adba0d..861199929e 100644 --- a/ydb/core/tx/datashard/ut_range_treap/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_range_treap/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_range_treap PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_range_treap PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_range_treap PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/range_treap_ut.cpp ) @@ -45,15 +55,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_range_treap - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_range_treap) diff --git a/ydb/core/tx/datashard/ut_read_iterator/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_read_iterator/CMakeLists.darwin.txt index f5baef8cbc..4b5bdd5659 100644 --- a/ydb/core/tx/datashard/ut_read_iterator/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_read_iterator/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_read_iterator PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_read_iterator PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_read_iterator PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_read_iterator.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_read_iterator - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_read_iterator) diff --git a/ydb/core/tx/datashard/ut_read_iterator/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_read_iterator/CMakeLists.linux.txt index 94070e2012..31ce8ada9f 100644 --- a/ydb/core/tx/datashard/ut_read_iterator/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_read_iterator/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_read_iterator PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_read_iterator PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_read_iterator PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_read_iterator.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_read_iterator - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_read_iterator) diff --git a/ydb/core/tx/datashard/ut_read_table/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_read_table/CMakeLists.darwin.txt index 8020c45359..466b28d966 100644 --- a/ydb/core/tx/datashard/ut_read_table/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_read_table/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_read_table PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_read_table PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_read_table PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_read_table.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_read_table - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_read_table) diff --git a/ydb/core/tx/datashard/ut_read_table/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_read_table/CMakeLists.linux.txt index c5345c1db6..136d10a21d 100644 --- a/ydb/core/tx/datashard/ut_read_table/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_read_table/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_read_table PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_read_table PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_read_table PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_read_table.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_read_table - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_read_table) diff --git a/ydb/core/tx/datashard/ut_reassign/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_reassign/CMakeLists.darwin.txt index 5feedcdf7d..cd0f71d633 100644 --- a/ydb/core/tx/datashard/ut_reassign/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_reassign/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_reassign PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_reassign PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_reassign PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_reassign.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_reassign - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_reassign) diff --git a/ydb/core/tx/datashard/ut_reassign/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_reassign/CMakeLists.linux.txt index 4db12e839d..2330159d62 100644 --- a/ydb/core/tx/datashard/ut_reassign/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_reassign/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_reassign PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_reassign PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_reassign PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_reassign.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_reassign - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_reassign) diff --git a/ydb/core/tx/datashard/ut_replication/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_replication/CMakeLists.darwin.txt index 812eeb4cb0..9a3069b16e 100644 --- a/ydb/core/tx/datashard/ut_replication/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_replication/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_replication PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_replication PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_replication PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_replication.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_replication - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_replication) diff --git a/ydb/core/tx/datashard/ut_replication/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_replication/CMakeLists.linux.txt index 7feabad79a..e36df6c138 100644 --- a/ydb/core/tx/datashard/ut_replication/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_replication/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_replication PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_replication PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_replication PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_replication.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_replication - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_replication) diff --git a/ydb/core/tx/datashard/ut_rs/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_rs/CMakeLists.darwin.txt index 261ec31ce1..5123584296 100644 --- a/ydb/core/tx/datashard/ut_rs/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_rs/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_rs PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_rs PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_rs PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_rs.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_rs - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_rs) diff --git a/ydb/core/tx/datashard/ut_rs/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_rs/CMakeLists.linux.txt index 7ae329831b..8c2e3cdc15 100644 --- a/ydb/core/tx/datashard/ut_rs/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_rs/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_rs PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_rs PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_rs PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_rs.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_rs - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_rs) diff --git a/ydb/core/tx/datashard/ut_snapshot/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_snapshot/CMakeLists.darwin.txt index 438c9bef05..13574753b6 100644 --- a/ydb/core/tx/datashard/ut_snapshot/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_snapshot/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_snapshot PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_snapshot PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_snapshot PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_snapshot.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_snapshot - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_snapshot) diff --git a/ydb/core/tx/datashard/ut_snapshot/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_snapshot/CMakeLists.linux.txt index fdf0a11010..6087c093d1 100644 --- a/ydb/core/tx/datashard/ut_snapshot/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_snapshot/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_snapshot PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_snapshot PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_snapshot PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_snapshot.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_snapshot - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_snapshot) diff --git a/ydb/core/tx/datashard/ut_stats/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_stats/CMakeLists.darwin.txt index 947b383a74..247bbc51be 100644 --- a/ydb/core/tx/datashard/ut_stats/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_stats/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_stats PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_stats PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_stats PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_stats.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_stats - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_stats) diff --git a/ydb/core/tx/datashard/ut_stats/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_stats/CMakeLists.linux.txt index 682b38ee9b..31b8323c0c 100644 --- a/ydb/core/tx/datashard/ut_stats/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_stats/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_stats PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_stats PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_stats PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_stats.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_stats - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_stats) diff --git a/ydb/core/tx/datashard/ut_upload_rows/CMakeLists.darwin.txt b/ydb/core/tx/datashard/ut_upload_rows/CMakeLists.darwin.txt index 4ad58637a0..5b64904b2d 100644 --- a/ydb/core/tx/datashard/ut_upload_rows/CMakeLists.darwin.txt +++ b/ydb/core/tx/datashard/ut_upload_rows/CMakeLists.darwin.txt @@ -30,6 +30,14 @@ target_link_libraries(ydb-core-tx-datashard-ut_upload_rows PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_upload_rows PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-datashard-ut_upload_rows PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_upload_rows.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_upload_rows - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-datashard-ut_upload_rows) diff --git a/ydb/core/tx/datashard/ut_upload_rows/CMakeLists.linux.txt b/ydb/core/tx/datashard/ut_upload_rows/CMakeLists.linux.txt index 137c5298f3..1a8c552bab 100644 --- a/ydb/core/tx/datashard/ut_upload_rows/CMakeLists.linux.txt +++ b/ydb/core/tx/datashard/ut_upload_rows/CMakeLists.linux.txt @@ -31,6 +31,16 @@ target_link_libraries(ydb-core-tx-datashard-ut_upload_rows PUBLIC public-lib-yson_value cpp-client-ydb_result ) +target_link_options(ydb-core-tx-datashard-ut_upload_rows PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-datashard-ut_upload_rows PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_common.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/datashard/datashard_ut_upload_rows.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-datashard-ut_upload_rows - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-datashard-ut_upload_rows) diff --git a/ydb/core/tx/long_tx_service/public/ut/CMakeLists.darwin.txt b/ydb/core/tx/long_tx_service/public/ut/CMakeLists.darwin.txt index c6ec509ee3..25393b6829 100644 --- a/ydb/core/tx/long_tx_service/public/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/long_tx_service/public/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-tx-long_tx_service-public-ut PUBLIC tx-long_tx_service-public cpp-testing-unittest ) +target_link_options(ydb-core-tx-long_tx_service-public-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-long_tx_service-public-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/long_tx_service/public/types_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-long_tx_service-public-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-long_tx_service-public-ut) diff --git a/ydb/core/tx/long_tx_service/public/ut/CMakeLists.linux.txt b/ydb/core/tx/long_tx_service/public/ut/CMakeLists.linux.txt index b01bb7036f..ae64ef4b30 100644 --- a/ydb/core/tx/long_tx_service/public/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/long_tx_service/public/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-tx-long_tx_service-public-ut PUBLIC tx-long_tx_service-public cpp-testing-unittest ) +target_link_options(ydb-core-tx-long_tx_service-public-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-long_tx_service-public-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/long_tx_service/public/types_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-long_tx_service-public-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-long_tx_service-public-ut) diff --git a/ydb/core/tx/long_tx_service/ut/CMakeLists.darwin.txt b/ydb/core/tx/long_tx_service/ut/CMakeLists.darwin.txt index f884f20435..5e64a14d4c 100644 --- a/ydb/core/tx/long_tx_service/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/long_tx_service/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-tx-long_tx_service-ut PUBLIC core-tx-long_tx_service ydb-core-testlib ) +target_link_options(ydb-core-tx-long_tx_service-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-long_tx_service-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/long_tx_service/long_tx_service_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-long_tx_service-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-long_tx_service-ut) diff --git a/ydb/core/tx/long_tx_service/ut/CMakeLists.linux.txt b/ydb/core/tx/long_tx_service/ut/CMakeLists.linux.txt index e5de6b285b..e75f272e30 100644 --- a/ydb/core/tx/long_tx_service/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/long_tx_service/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-tx-long_tx_service-ut PUBLIC core-tx-long_tx_service ydb-core-testlib ) +target_link_options(ydb-core-tx-long_tx_service-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-long_tx_service-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/long_tx_service/long_tx_service_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-long_tx_service-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-long_tx_service-ut) diff --git a/ydb/core/tx/replication/ydb_proxy/ut/CMakeLists.darwin.txt b/ydb/core/tx/replication/ydb_proxy/ut/CMakeLists.darwin.txt index dcc308441e..b0c45e4dff 100644 --- a/ydb/core/tx/replication/ydb_proxy/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/replication/ydb_proxy/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-tx-replication-ydb_proxy-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-tx-replication-ydb_proxy-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-replication-ydb_proxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/replication/ydb_proxy/ydb_proxy_ut.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-replication-ydb_proxy-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-replication-ydb_proxy-ut) diff --git a/ydb/core/tx/replication/ydb_proxy/ut/CMakeLists.linux.txt b/ydb/core/tx/replication/ydb_proxy/ut/CMakeLists.linux.txt index 511c9db310..42298fdaae 100644 --- a/ydb/core/tx/replication/ydb_proxy/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/replication/ydb_proxy/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-tx-replication-ydb_proxy-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-tx-replication-ydb_proxy-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-replication-ydb_proxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/replication/ydb_proxy/ydb_proxy_ut.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-replication-ydb_proxy-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-replication-ydb_proxy-ut) diff --git a/ydb/core/tx/scheme_board/ut_cache/CMakeLists.darwin.txt b/ydb/core/tx/scheme_board/ut_cache/CMakeLists.darwin.txt index 146bb38a26..cdf6d444b2 100644 --- a/ydb/core/tx/scheme_board/ut_cache/CMakeLists.darwin.txt +++ b/ydb/core/tx/scheme_board/ut_cache/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_cache PUBLIC core-tx-schemeshard tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-scheme_board-ut_cache PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-scheme_board-ut_cache PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/cache_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_cache - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-scheme_board-ut_cache) diff --git a/ydb/core/tx/scheme_board/ut_cache/CMakeLists.linux.txt b/ydb/core/tx/scheme_board/ut_cache/CMakeLists.linux.txt index 1ceba82bea..c9e522ab33 100644 --- a/ydb/core/tx/scheme_board/ut_cache/CMakeLists.linux.txt +++ b/ydb/core/tx/scheme_board/ut_cache/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_cache PUBLIC core-tx-schemeshard tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-scheme_board-ut_cache PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-scheme_board-ut_cache PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/cache_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_cache - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-scheme_board-ut_cache) diff --git a/ydb/core/tx/scheme_board/ut_double_indexed/CMakeLists.darwin.txt b/ydb/core/tx/scheme_board/ut_double_indexed/CMakeLists.darwin.txt index 9c091ca1ce..86c80ff916 100644 --- a/ydb/core/tx/scheme_board/ut_double_indexed/CMakeLists.darwin.txt +++ b/ydb/core/tx/scheme_board/ut_double_indexed/CMakeLists.darwin.txt @@ -19,6 +19,14 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_double_indexed PUBLIC core-tx-scheme_board cpp-testing-unittest ) +target_link_options(ydb-core-tx-scheme_board-ut_double_indexed PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-scheme_board-ut_double_indexed PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/double_indexed_ut.cpp ) @@ -33,15 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_double_indexed - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-scheme_board-ut_double_indexed) diff --git a/ydb/core/tx/scheme_board/ut_double_indexed/CMakeLists.linux.txt b/ydb/core/tx/scheme_board/ut_double_indexed/CMakeLists.linux.txt index 359d6e54b3..3ccbec7e76 100644 --- a/ydb/core/tx/scheme_board/ut_double_indexed/CMakeLists.linux.txt +++ b/ydb/core/tx/scheme_board/ut_double_indexed/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_double_indexed PUBLIC core-tx-scheme_board cpp-testing-unittest ) +target_link_options(ydb-core-tx-scheme_board-ut_double_indexed PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-scheme_board-ut_double_indexed PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/double_indexed_ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_double_indexed - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-scheme_board-ut_double_indexed) diff --git a/ydb/core/tx/scheme_board/ut_monitoring/CMakeLists.darwin.txt b/ydb/core/tx/scheme_board/ut_monitoring/CMakeLists.darwin.txt index 39b1061006..47cc57f6e6 100644 --- a/ydb/core/tx/scheme_board/ut_monitoring/CMakeLists.darwin.txt +++ b/ydb/core/tx/scheme_board/ut_monitoring/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_monitoring PUBLIC cpp-testing-unittest core-testlib-basics ) +target_link_options(ydb-core-tx-scheme_board-ut_monitoring PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-scheme_board-ut_monitoring PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/monitoring_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_monitoring - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-scheme_board-ut_monitoring) diff --git a/ydb/core/tx/scheme_board/ut_monitoring/CMakeLists.linux.txt b/ydb/core/tx/scheme_board/ut_monitoring/CMakeLists.linux.txt index 6b7a0787c7..d5458a27b5 100644 --- a/ydb/core/tx/scheme_board/ut_monitoring/CMakeLists.linux.txt +++ b/ydb/core/tx/scheme_board/ut_monitoring/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_monitoring PUBLIC cpp-testing-unittest core-testlib-basics ) +target_link_options(ydb-core-tx-scheme_board-ut_monitoring PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-scheme_board-ut_monitoring PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/monitoring_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_monitoring - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-scheme_board-ut_monitoring) diff --git a/ydb/core/tx/scheme_board/ut_populator/CMakeLists.darwin.txt b/ydb/core/tx/scheme_board/ut_populator/CMakeLists.darwin.txt index 3812f7d720..a98d48e6c2 100644 --- a/ydb/core/tx/scheme_board/ut_populator/CMakeLists.darwin.txt +++ b/ydb/core/tx/scheme_board/ut_populator/CMakeLists.darwin.txt @@ -26,6 +26,14 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_populator PUBLIC tx-schemeshard-ut_helpers core-tx-tx_allocator ) +target_link_options(ydb-core-tx-scheme_board-ut_populator PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-scheme_board-ut_populator PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/populator_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp @@ -41,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_populator - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-scheme_board-ut_populator) diff --git a/ydb/core/tx/scheme_board/ut_populator/CMakeLists.linux.txt b/ydb/core/tx/scheme_board/ut_populator/CMakeLists.linux.txt index 39130c2575..c54e46b5c3 100644 --- a/ydb/core/tx/scheme_board/ut_populator/CMakeLists.linux.txt +++ b/ydb/core/tx/scheme_board/ut_populator/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_populator PUBLIC tx-schemeshard-ut_helpers core-tx-tx_allocator ) +target_link_options(ydb-core-tx-scheme_board-ut_populator PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-scheme_board-ut_populator PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/populator_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp @@ -42,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_populator - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-scheme_board-ut_populator) diff --git a/ydb/core/tx/scheme_board/ut_replica/CMakeLists.darwin.txt b/ydb/core/tx/scheme_board/ut_replica/CMakeLists.darwin.txt index 54f3e5c8d6..0b7fc0d976 100644 --- a/ydb/core/tx/scheme_board/ut_replica/CMakeLists.darwin.txt +++ b/ydb/core/tx/scheme_board/ut_replica/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_replica PUBLIC cpp-testing-unittest core-testlib-basics ) +target_link_options(ydb-core-tx-scheme_board-ut_replica PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-scheme_board-ut_replica PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/replica_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_replica - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-scheme_board-ut_replica) diff --git a/ydb/core/tx/scheme_board/ut_replica/CMakeLists.linux.txt b/ydb/core/tx/scheme_board/ut_replica/CMakeLists.linux.txt index 80696c2f51..ba42fb27a0 100644 --- a/ydb/core/tx/scheme_board/ut_replica/CMakeLists.linux.txt +++ b/ydb/core/tx/scheme_board/ut_replica/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_replica PUBLIC cpp-testing-unittest core-testlib-basics ) +target_link_options(ydb-core-tx-scheme_board-ut_replica PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-scheme_board-ut_replica PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/replica_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_replica - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-scheme_board-ut_replica) diff --git a/ydb/core/tx/scheme_board/ut_subscriber/CMakeLists.darwin.txt b/ydb/core/tx/scheme_board/ut_subscriber/CMakeLists.darwin.txt index e72e2b976b..0c183334b7 100644 --- a/ydb/core/tx/scheme_board/ut_subscriber/CMakeLists.darwin.txt +++ b/ydb/core/tx/scheme_board/ut_subscriber/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_subscriber PUBLIC core-testlib-basics yql-sql-pg_dummy ) +target_link_options(ydb-core-tx-scheme_board-ut_subscriber PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-scheme_board-ut_subscriber PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/subscriber_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_subscriber - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-scheme_board-ut_subscriber) diff --git a/ydb/core/tx/scheme_board/ut_subscriber/CMakeLists.linux.txt b/ydb/core/tx/scheme_board/ut_subscriber/CMakeLists.linux.txt index 9ad18e5c1a..610bcdacc2 100644 --- a/ydb/core/tx/scheme_board/ut_subscriber/CMakeLists.linux.txt +++ b/ydb/core/tx/scheme_board/ut_subscriber/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-tx-scheme_board-ut_subscriber PUBLIC core-testlib-basics yql-sql-pg_dummy ) +target_link_options(ydb-core-tx-scheme_board-ut_subscriber PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-scheme_board-ut_subscriber PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/subscriber_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/scheme_board/ut_helpers.cpp @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-scheme_board-ut_subscriber - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-scheme_board-ut_subscriber) diff --git a/ydb/core/tx/schemeshard/ut_async_index/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_async_index/CMakeLists.darwin.txt index f1edea37ba..8a721b8761 100644 --- a/ydb/core/tx/schemeshard/ut_async_index/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_async_index/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_async_index PUBLIC ydb-core-testlib tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_async_index PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_async_index PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_async_index.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_async_index - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_async_index) diff --git a/ydb/core/tx/schemeshard/ut_async_index/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_async_index/CMakeLists.linux.txt index a8922b285a..bd5435612f 100644 --- a/ydb/core/tx/schemeshard/ut_async_index/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_async_index/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_async_index PUBLIC ydb-core-testlib tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_async_index PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_async_index PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_async_index.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_async_index - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_async_index) diff --git a/ydb/core/tx/schemeshard/ut_base/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_base/CMakeLists.darwin.txt index 4988af834d..f04138f662 100644 --- a/ydb/core/tx/schemeshard/ut_base/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_base/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_base PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_base PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_base PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_base.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_info_types.cpp @@ -44,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_base - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_base) diff --git a/ydb/core/tx/schemeshard/ut_base/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_base/CMakeLists.linux.txt index 73f8f243d2..e730172249 100644 --- a/ydb/core/tx/schemeshard/ut_base/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_base/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_base PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_base PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_base PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_base.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_info_types.cpp @@ -45,15 +55,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_base - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_base) diff --git a/ydb/core/tx/schemeshard/ut_base_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_base_reboots/CMakeLists.darwin.txt index 9a512ea1d2..ac31e91f77 100644 --- a/ydb/core/tx/schemeshard/ut_base_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_base_reboots/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_base_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_base_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_base_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_base_reboots.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_base_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_base_reboots) diff --git a/ydb/core/tx/schemeshard/ut_base_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_base_reboots/CMakeLists.linux.txt index 3286d12407..28a57193c2 100644 --- a/ydb/core/tx/schemeshard/ut_base_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_base_reboots/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_base_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_base_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_base_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_base_reboots.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_base_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_base_reboots) diff --git a/ydb/core/tx/schemeshard/ut_bsvolume/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_bsvolume/CMakeLists.darwin.txt index aeb5eacc0c..9ccf408a86 100644 --- a/ydb/core/tx/schemeshard/ut_bsvolume/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_bsvolume/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_bsvolume PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_bsvolume PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_bsvolume PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_bsvolume.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_bsvolume - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_bsvolume) diff --git a/ydb/core/tx/schemeshard/ut_bsvolume/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_bsvolume/CMakeLists.linux.txt index 4857b0d240..4816ed38cc 100644 --- a/ydb/core/tx/schemeshard/ut_bsvolume/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_bsvolume/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_bsvolume PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_bsvolume PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_bsvolume PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_bsvolume.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_bsvolume - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_bsvolume) diff --git a/ydb/core/tx/schemeshard/ut_bsvolume_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_bsvolume_reboots/CMakeLists.darwin.txt index 74e1232305..ee5ca11e27 100644 --- a/ydb/core/tx/schemeshard/ut_bsvolume_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_bsvolume_reboots/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_bsvolume_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_bsvolume_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_bsvolume_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_bsvolume_reboots.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_bsvolume_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_bsvolume_reboots) diff --git a/ydb/core/tx/schemeshard/ut_bsvolume_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_bsvolume_reboots/CMakeLists.linux.txt index 3b4da9217f..d27cbe1827 100644 --- a/ydb/core/tx/schemeshard/ut_bsvolume_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_bsvolume_reboots/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_bsvolume_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_bsvolume_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_bsvolume_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_bsvolume_reboots.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_bsvolume_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_bsvolume_reboots) diff --git a/ydb/core/tx/schemeshard/ut_cdc_stream/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_cdc_stream/CMakeLists.darwin.txt index c1e3c3f9c8..6d46152995 100644 --- a/ydb/core/tx/schemeshard/ut_cdc_stream/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_cdc_stream/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_cdc_stream PUBLIC ydb-core-testlib tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_cdc_stream PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_cdc_stream PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_cdc_stream.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_cdc_stream - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_cdc_stream) diff --git a/ydb/core/tx/schemeshard/ut_cdc_stream/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_cdc_stream/CMakeLists.linux.txt index 6afd53149a..af805d2fa6 100644 --- a/ydb/core/tx/schemeshard/ut_cdc_stream/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_cdc_stream/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_cdc_stream PUBLIC ydb-core-testlib tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_cdc_stream PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_cdc_stream PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_cdc_stream.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_cdc_stream - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_cdc_stream) diff --git a/ydb/core/tx/schemeshard/ut_cdc_stream_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_cdc_stream_reboots/CMakeLists.darwin.txt index 24767857ef..94e0ccd1a5 100644 --- a/ydb/core/tx/schemeshard/ut_cdc_stream_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_cdc_stream_reboots/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_cdc_stream_reboots PUBLIC core-tx-schemeshard tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_cdc_stream_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_cdc_stream_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_cdc_stream_reboots.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_cdc_stream_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_cdc_stream_reboots) diff --git a/ydb/core/tx/schemeshard/ut_cdc_stream_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_cdc_stream_reboots/CMakeLists.linux.txt index 61b2d44d74..a92881c331 100644 --- a/ydb/core/tx/schemeshard/ut_cdc_stream_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_cdc_stream_reboots/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_cdc_stream_reboots PUBLIC core-tx-schemeshard tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_cdc_stream_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_cdc_stream_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_cdc_stream_reboots.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_cdc_stream_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_cdc_stream_reboots) diff --git a/ydb/core/tx/schemeshard/ut_compaction/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_compaction/CMakeLists.darwin.txt index 297a0c5c56..c543359def 100644 --- a/ydb/core/tx/schemeshard/ut_compaction/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_compaction/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_compaction PUBLIC tx-schemeshard-ut_helpers core-wrappers-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_compaction PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_compaction PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_compaction.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_compaction - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_compaction) diff --git a/ydb/core/tx/schemeshard/ut_compaction/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_compaction/CMakeLists.linux.txt index bedf3eb163..4d447a1732 100644 --- a/ydb/core/tx/schemeshard/ut_compaction/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_compaction/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_compaction PUBLIC tx-schemeshard-ut_helpers core-wrappers-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_compaction PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_compaction PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_compaction.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_compaction - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_compaction) diff --git a/ydb/core/tx/schemeshard/ut_export/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_export/CMakeLists.darwin.txt index 920bbb1f5f..3a423d8fe6 100644 --- a/ydb/core/tx/schemeshard/ut_export/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_export/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_export PUBLIC core-wrappers-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_export PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_export PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_export.cpp ) @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_export - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_export) diff --git a/ydb/core/tx/schemeshard/ut_export/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_export/CMakeLists.linux.txt index 358cada7f2..ab26901491 100644 --- a/ydb/core/tx/schemeshard/ut_export/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_export/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_export PUBLIC core-wrappers-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_export PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_export PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_export.cpp ) @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_export - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_export) diff --git a/ydb/core/tx/schemeshard/ut_export_reboots_s3/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_export_reboots_s3/CMakeLists.darwin.txt index a363886eff..41206c76ee 100644 --- a/ydb/core/tx/schemeshard/ut_export_reboots_s3/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_export_reboots_s3/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_export_reboots_s3 PUBLIC core-wrappers-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_export_reboots_s3 PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_export_reboots_s3 PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_export_reboots_s3.cpp ) @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_export_reboots_s3 - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_export_reboots_s3) diff --git a/ydb/core/tx/schemeshard/ut_export_reboots_s3/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_export_reboots_s3/CMakeLists.linux.txt index bcdb6b24b4..562395052c 100644 --- a/ydb/core/tx/schemeshard/ut_export_reboots_s3/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_export_reboots_s3/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_export_reboots_s3 PUBLIC core-wrappers-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_export_reboots_s3 PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_export_reboots_s3 PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_export_reboots_s3.cpp ) @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_export_reboots_s3 - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_export_reboots_s3) diff --git a/ydb/core/tx/schemeshard/ut_extsubdomain/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_extsubdomain/CMakeLists.darwin.txt index 8bb27cc787..4811a8c1d8 100644 --- a/ydb/core/tx/schemeshard/ut_extsubdomain/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_extsubdomain/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_extsubdomain PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_extsubdomain PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_extsubdomain PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_extsubdomain.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_extsubdomain - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_extsubdomain) diff --git a/ydb/core/tx/schemeshard/ut_extsubdomain/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_extsubdomain/CMakeLists.linux.txt index 905a3da975..0ccf45ce7d 100644 --- a/ydb/core/tx/schemeshard/ut_extsubdomain/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_extsubdomain/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_extsubdomain PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_extsubdomain PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_extsubdomain PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_extsubdomain.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_extsubdomain - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_extsubdomain) diff --git a/ydb/core/tx/schemeshard/ut_extsubdomain_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_extsubdomain_reboots/CMakeLists.darwin.txt index 2b01d2a118..a9c3594c7c 100644 --- a/ydb/core/tx/schemeshard/ut_extsubdomain_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_extsubdomain_reboots/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_extsubdomain_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_extsubdomain_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_extsubdomain_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_extsubdomain_reboots.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_extsubdomain_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_extsubdomain_reboots) diff --git a/ydb/core/tx/schemeshard/ut_extsubdomain_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_extsubdomain_reboots/CMakeLists.linux.txt index 9c0c1653b6..feb5714a35 100644 --- a/ydb/core/tx/schemeshard/ut_extsubdomain_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_extsubdomain_reboots/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_extsubdomain_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_extsubdomain_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_extsubdomain_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_extsubdomain_reboots.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_extsubdomain_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_extsubdomain_reboots) diff --git a/ydb/core/tx/schemeshard/ut_filestore_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_filestore_reboots/CMakeLists.darwin.txt index 4a13cd31bb..d63aa53ae9 100644 --- a/ydb/core/tx/schemeshard/ut_filestore_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_filestore_reboots/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_filestore_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_filestore_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_filestore_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_filestore_reboots.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_filestore_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_filestore_reboots) diff --git a/ydb/core/tx/schemeshard/ut_filestore_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_filestore_reboots/CMakeLists.linux.txt index 4d548b52a7..5235c605a1 100644 --- a/ydb/core/tx/schemeshard/ut_filestore_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_filestore_reboots/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_filestore_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_filestore_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_filestore_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_filestore_reboots.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_filestore_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_filestore_reboots) diff --git a/ydb/core/tx/schemeshard/ut_index_build/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_index_build/CMakeLists.darwin.txt index 1aef6e5a2c..a4cf64db66 100644 --- a/ydb/core/tx/schemeshard/ut_index_build/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_index_build/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_index_build PUBLIC ydb-core-tx tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_index_build PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_index_build PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_index_build.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_index_build - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_index_build) diff --git a/ydb/core/tx/schemeshard/ut_index_build/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_index_build/CMakeLists.linux.txt index da6df81de3..ced28b426a 100644 --- a/ydb/core/tx/schemeshard/ut_index_build/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_index_build/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_index_build PUBLIC ydb-core-tx tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_index_build PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_index_build PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_index_build.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_index_build - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_index_build) diff --git a/ydb/core/tx/schemeshard/ut_index_build_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_index_build_reboots/CMakeLists.darwin.txt index 7556599266..749a4d7310 100644 --- a/ydb/core/tx/schemeshard/ut_index_build_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_index_build_reboots/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_index_build_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_index_build_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_index_build_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_index_build_reboots.cpp ) @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_index_build_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_index_build_reboots) diff --git a/ydb/core/tx/schemeshard/ut_index_build_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_index_build_reboots/CMakeLists.linux.txt index 0746d0a1d9..feb87d9b48 100644 --- a/ydb/core/tx/schemeshard/ut_index_build_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_index_build_reboots/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_index_build_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_index_build_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_index_build_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_index_build_reboots.cpp ) @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_index_build_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_index_build_reboots) diff --git a/ydb/core/tx/schemeshard/ut_login/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_login/CMakeLists.darwin.txt index 16e76caad5..8c52577862 100644 --- a/ydb/core/tx/schemeshard/ut_login/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_login/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_login PUBLIC ydb-library-login udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_login PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_login PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_login.cpp ) @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_login - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_login) diff --git a/ydb/core/tx/schemeshard/ut_login/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_login/CMakeLists.linux.txt index ab525bdc53..e367ee739d 100644 --- a/ydb/core/tx/schemeshard/ut_login/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_login/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_login PUBLIC ydb-library-login udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_login PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_login PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_login.cpp ) @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_login - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_login) diff --git a/ydb/core/tx/schemeshard/ut_move/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_move/CMakeLists.darwin.txt index 7b7a6f55c7..b6838fd7b4 100644 --- a/ydb/core/tx/schemeshard/ut_move/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_move/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_move PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_move PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_move PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_move.cpp ) @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_move - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_move) diff --git a/ydb/core/tx/schemeshard/ut_move/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_move/CMakeLists.linux.txt index 46b2b41c66..9145751068 100644 --- a/ydb/core/tx/schemeshard/ut_move/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_move/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_move PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_move PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_move PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_move.cpp ) @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_move - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_move) diff --git a/ydb/core/tx/schemeshard/ut_move_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_move_reboots/CMakeLists.darwin.txt index 2231d2de3d..20552d4191 100644 --- a/ydb/core/tx/schemeshard/ut_move_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_move_reboots/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_move_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_move_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_move_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_move_reboots.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_move_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_move_reboots) diff --git a/ydb/core/tx/schemeshard/ut_move_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_move_reboots/CMakeLists.linux.txt index 5f652536f2..a893525731 100644 --- a/ydb/core/tx/schemeshard/ut_move_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_move_reboots/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_move_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_move_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_move_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_move_reboots.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_move_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_move_reboots) diff --git a/ydb/core/tx/schemeshard/ut_olap/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_olap/CMakeLists.darwin.txt index b460624233..b8a76e0c2d 100644 --- a/ydb/core/tx/schemeshard/ut_olap/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_olap/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_olap PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_olap PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_olap PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_olap.cpp ) @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_olap - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_olap) diff --git a/ydb/core/tx/schemeshard/ut_olap/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_olap/CMakeLists.linux.txt index 2019ca700f..643b762284 100644 --- a/ydb/core/tx/schemeshard/ut_olap/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_olap/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_olap PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_olap PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_olap PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_olap.cpp ) @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_olap - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_olap) diff --git a/ydb/core/tx/schemeshard/ut_olap_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_olap_reboots/CMakeLists.darwin.txt index e7e7b47075..978796785b 100644 --- a/ydb/core/tx/schemeshard/ut_olap_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_olap_reboots/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_olap_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_olap_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_olap_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_olap_reboots.cpp ) @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_olap_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_olap_reboots) diff --git a/ydb/core/tx/schemeshard/ut_olap_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_olap_reboots/CMakeLists.linux.txt index fc8ebb3970..db89ed59c2 100644 --- a/ydb/core/tx/schemeshard/ut_olap_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_olap_reboots/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_olap_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_olap_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_olap_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_olap_reboots.cpp ) @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_olap_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_olap_reboots) diff --git a/ydb/core/tx/schemeshard/ut_pq/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_pq/CMakeLists.darwin.txt index ccaf6a7ff2..5fe075ac1b 100644 --- a/ydb/core/tx/schemeshard/ut_pq/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_pq/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_pq PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_pq PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_pq PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_pq.cpp ) @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_pq - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_pq) diff --git a/ydb/core/tx/schemeshard/ut_pq/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_pq/CMakeLists.linux.txt index 14b94f4099..5a71dc9185 100644 --- a/ydb/core/tx/schemeshard/ut_pq/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_pq/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_pq PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_pq PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_pq PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_pq.cpp ) @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_pq - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_pq) diff --git a/ydb/core/tx/schemeshard/ut_pq_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_pq_reboots/CMakeLists.darwin.txt index 6324c73e7f..db114cfb7a 100644 --- a/ydb/core/tx/schemeshard/ut_pq_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_pq_reboots/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_pq_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_pq_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_pq_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_pq_reboots.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_pq_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_pq_reboots) diff --git a/ydb/core/tx/schemeshard/ut_pq_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_pq_reboots/CMakeLists.linux.txt index 2341a3844a..d9807dedd6 100644 --- a/ydb/core/tx/schemeshard/ut_pq_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_pq_reboots/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_pq_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_pq_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_pq_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_pq_reboots.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_pq_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_pq_reboots) diff --git a/ydb/core/tx/schemeshard/ut_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_reboots/CMakeLists.darwin.txt index abd8f003e5..baf3e802bf 100644 --- a/ydb/core/tx/schemeshard/ut_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_reboots/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_reboots.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_reboots) diff --git a/ydb/core/tx/schemeshard/ut_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_reboots/CMakeLists.linux.txt index 7a0e65fabb..0e8b0db85b 100644 --- a/ydb/core/tx/schemeshard/ut_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_reboots/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_reboots.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_reboots) diff --git a/ydb/core/tx/schemeshard/ut_replication/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_replication/CMakeLists.darwin.txt index 11809332c2..b67dedfee3 100644 --- a/ydb/core/tx/schemeshard/ut_replication/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_replication/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_replication PUBLIC core-tx-schemeshard tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_replication PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_replication PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_replication.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_replication - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_replication) diff --git a/ydb/core/tx/schemeshard/ut_replication/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_replication/CMakeLists.linux.txt index b4205ef8df..44d6e53203 100644 --- a/ydb/core/tx/schemeshard/ut_replication/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_replication/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_replication PUBLIC core-tx-schemeshard tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_replication PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_replication PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_replication.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_replication - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_replication) diff --git a/ydb/core/tx/schemeshard/ut_replication_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_replication_reboots/CMakeLists.darwin.txt index e5b6854891..d2ad8ae5c7 100644 --- a/ydb/core/tx/schemeshard/ut_replication_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_replication_reboots/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_replication_reboots PUBLIC core-tx-schemeshard tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_replication_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_replication_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_replication_reboots.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_replication_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_replication_reboots) diff --git a/ydb/core/tx/schemeshard/ut_replication_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_replication_reboots/CMakeLists.linux.txt index 4009f59973..59f9a6ec9a 100644 --- a/ydb/core/tx/schemeshard/ut_replication_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_replication_reboots/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_replication_reboots PUBLIC core-tx-schemeshard tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_replication_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_replication_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_replication_reboots.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_replication_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_replication_reboots) diff --git a/ydb/core/tx/schemeshard/ut_restore/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_restore/CMakeLists.darwin.txt index 52f1391815..d15fa7d2e6 100644 --- a/ydb/core/tx/schemeshard/ut_restore/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_restore/CMakeLists.darwin.txt @@ -27,6 +27,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_restore PUBLIC core-wrappers-ut_helpers ydb-core-ydb_convert ) +target_link_options(ydb-core-tx-schemeshard-ut_restore PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_restore PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_restore.cpp ) @@ -41,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_restore - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_restore) diff --git a/ydb/core/tx/schemeshard/ut_restore/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_restore/CMakeLists.linux.txt index b315d948d2..738900cd3c 100644 --- a/ydb/core/tx/schemeshard/ut_restore/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_restore/CMakeLists.linux.txt @@ -28,6 +28,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_restore PUBLIC core-wrappers-ut_helpers ydb-core-ydb_convert ) +target_link_options(ydb-core-tx-schemeshard-ut_restore PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_restore PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_restore.cpp ) @@ -42,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_restore - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_restore) diff --git a/ydb/core/tx/schemeshard/ut_rtmr/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_rtmr/CMakeLists.darwin.txt index 63590dbfef..b53e9b9f38 100644 --- a/ydb/core/tx/schemeshard/ut_rtmr/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_rtmr/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_rtmr PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_rtmr PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_rtmr PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_rtmr.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_rtmr - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_rtmr) diff --git a/ydb/core/tx/schemeshard/ut_rtmr/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_rtmr/CMakeLists.linux.txt index 86ded7892b..30f496f07f 100644 --- a/ydb/core/tx/schemeshard/ut_rtmr/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_rtmr/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_rtmr PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_rtmr PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_rtmr PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_rtmr.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_rtmr - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_rtmr) diff --git a/ydb/core/tx/schemeshard/ut_rtmr_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_rtmr_reboots/CMakeLists.darwin.txt index 9ebd43b17f..b38fcbad8a 100644 --- a/ydb/core/tx/schemeshard/ut_rtmr_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_rtmr_reboots/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_rtmr_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_rtmr_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_rtmr_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_rtmr_reboots.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_rtmr_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_rtmr_reboots) diff --git a/ydb/core/tx/schemeshard/ut_rtmr_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_rtmr_reboots/CMakeLists.linux.txt index a8e1b3aea7..bf4e8c6aab 100644 --- a/ydb/core/tx/schemeshard/ut_rtmr_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_rtmr_reboots/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_rtmr_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_rtmr_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_rtmr_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_rtmr_reboots.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_rtmr_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_rtmr_reboots) diff --git a/ydb/core/tx/schemeshard/ut_ru_calculator/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_ru_calculator/CMakeLists.darwin.txt index 8c5bd8b71a..00aa77a9da 100644 --- a/ydb/core/tx/schemeshard/ut_ru_calculator/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_ru_calculator/CMakeLists.darwin.txt @@ -19,6 +19,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_ru_calculator PUBLIC core-tx-schemeshard cpp-testing-unittest ) +target_link_options(ydb-core-tx-schemeshard-ut_ru_calculator PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_ru_calculator PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_ru_calculator.cpp ) @@ -33,15 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_ru_calculator - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_ru_calculator) diff --git a/ydb/core/tx/schemeshard/ut_ru_calculator/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_ru_calculator/CMakeLists.linux.txt index 4c8d1a7d76..82c968b266 100644 --- a/ydb/core/tx/schemeshard/ut_ru_calculator/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_ru_calculator/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_ru_calculator PUBLIC core-tx-schemeshard cpp-testing-unittest ) +target_link_options(ydb-core-tx-schemeshard-ut_ru_calculator PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_ru_calculator PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_ru_calculator.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_ru_calculator - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_ru_calculator) diff --git a/ydb/core/tx/schemeshard/ut_sequence/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_sequence/CMakeLists.darwin.txt index 596c1e7b95..fa9c56900e 100644 --- a/ydb/core/tx/schemeshard/ut_sequence/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_sequence/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_sequence PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_sequence PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_sequence PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_sequence.cpp ) @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_sequence - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_sequence) diff --git a/ydb/core/tx/schemeshard/ut_sequence/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_sequence/CMakeLists.linux.txt index ae8f9df310..b935058bf1 100644 --- a/ydb/core/tx/schemeshard/ut_sequence/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_sequence/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_sequence PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_sequence PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_sequence PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_sequence.cpp ) @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_sequence - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_sequence) diff --git a/ydb/core/tx/schemeshard/ut_sequence_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_sequence_reboots/CMakeLists.darwin.txt index 231860ba61..c43d0b09cc 100644 --- a/ydb/core/tx/schemeshard/ut_sequence_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_sequence_reboots/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_sequence_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_sequence_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_sequence_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_sequence_reboots.cpp ) @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_sequence_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_sequence_reboots) diff --git a/ydb/core/tx/schemeshard/ut_sequence_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_sequence_reboots/CMakeLists.linux.txt index 35e37b2c44..48f81b8ef0 100644 --- a/ydb/core/tx/schemeshard/ut_sequence_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_sequence_reboots/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_sequence_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_sequence_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_sequence_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_sequence_reboots.cpp ) @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_sequence_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_sequence_reboots) diff --git a/ydb/core/tx/schemeshard/ut_serverless/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_serverless/CMakeLists.darwin.txt index 263e299360..d86ecb7de2 100644 --- a/ydb/core/tx/schemeshard/ut_serverless/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_serverless/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_serverless PUBLIC tx-schemeshard-ut_helpers ydb-core-yql_testlib ) +target_link_options(ydb-core-tx-schemeshard-ut_serverless PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_serverless PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_serverless.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_serverless - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_serverless) diff --git a/ydb/core/tx/schemeshard/ut_serverless/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_serverless/CMakeLists.linux.txt index 13dc1375c6..cc6b083207 100644 --- a/ydb/core/tx/schemeshard/ut_serverless/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_serverless/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_serverless PUBLIC tx-schemeshard-ut_helpers ydb-core-yql_testlib ) +target_link_options(ydb-core-tx-schemeshard-ut_serverless PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_serverless PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_serverless.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_serverless - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_serverless) diff --git a/ydb/core/tx/schemeshard/ut_split_merge/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_split_merge/CMakeLists.darwin.txt index 81b3c1aeca..9dbeebfe90 100644 --- a/ydb/core/tx/schemeshard/ut_split_merge/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_split_merge/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_split_merge PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_split_merge PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_split_merge PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_split_merge.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_split_merge - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_split_merge) diff --git a/ydb/core/tx/schemeshard/ut_split_merge/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_split_merge/CMakeLists.linux.txt index 45c83ebe4d..eeaa22a523 100644 --- a/ydb/core/tx/schemeshard/ut_split_merge/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_split_merge/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_split_merge PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_split_merge PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_split_merge PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_split_merge.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_split_merge - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_split_merge) diff --git a/ydb/core/tx/schemeshard/ut_split_merge_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_split_merge_reboots/CMakeLists.darwin.txt index 068ae88c63..adfb3fc7b9 100644 --- a/ydb/core/tx/schemeshard/ut_split_merge_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_split_merge_reboots/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_split_merge_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_split_merge_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_split_merge_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_split_merge_reboots.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_split_merge_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_split_merge_reboots) diff --git a/ydb/core/tx/schemeshard/ut_split_merge_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_split_merge_reboots/CMakeLists.linux.txt index cd219ab36c..3746e177ef 100644 --- a/ydb/core/tx/schemeshard/ut_split_merge_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_split_merge_reboots/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_split_merge_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_split_merge_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_split_merge_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_split_merge_reboots.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_split_merge_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_split_merge_reboots) diff --git a/ydb/core/tx/schemeshard/ut_subdomain/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_subdomain/CMakeLists.darwin.txt index e0f568384e..91547ba841 100644 --- a/ydb/core/tx/schemeshard/ut_subdomain/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_subdomain/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_subdomain PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_subdomain PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_subdomain PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_subdomain.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_subdomain - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_subdomain) diff --git a/ydb/core/tx/schemeshard/ut_subdomain/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_subdomain/CMakeLists.linux.txt index 3cb32a4920..eeeed9f39f 100644 --- a/ydb/core/tx/schemeshard/ut_subdomain/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_subdomain/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_subdomain PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_subdomain PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_subdomain PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_subdomain.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_subdomain - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_subdomain) diff --git a/ydb/core/tx/schemeshard/ut_subdomain_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_subdomain_reboots/CMakeLists.darwin.txt index 731ca30ef8..563755e720 100644 --- a/ydb/core/tx/schemeshard/ut_subdomain_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_subdomain_reboots/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_subdomain_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_subdomain_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_subdomain_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_subdomain_reboots.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_subdomain_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_subdomain_reboots) diff --git a/ydb/core/tx/schemeshard/ut_subdomain_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_subdomain_reboots/CMakeLists.linux.txt index 539e76abcd..45c6ed5830 100644 --- a/ydb/core/tx/schemeshard/ut_subdomain_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_subdomain_reboots/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_subdomain_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(ydb-core-tx-schemeshard-ut_subdomain_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_subdomain_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_subdomain_reboots.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_subdomain_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_subdomain_reboots) diff --git a/ydb/core/tx/schemeshard/ut_ttl/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_ttl/CMakeLists.darwin.txt index 7d63754ff0..217284f041 100644 --- a/ydb/core/tx/schemeshard/ut_ttl/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_ttl/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_ttl PUBLIC kqp-ut-common tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_ttl PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_ttl PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_ttl.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_ttl - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_ttl) diff --git a/ydb/core/tx/schemeshard/ut_ttl/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_ttl/CMakeLists.linux.txt index 1ec35a636d..332f7facac 100644 --- a/ydb/core/tx/schemeshard/ut_ttl/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_ttl/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_ttl PUBLIC kqp-ut-common tx-schemeshard-ut_helpers ) +target_link_options(ydb-core-tx-schemeshard-ut_ttl PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_ttl PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_ttl.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_ttl - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_ttl) diff --git a/ydb/core/tx/schemeshard/ut_user_attributes/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_user_attributes/CMakeLists.darwin.txt index 027f081ae8..1fa7238cd4 100644 --- a/ydb/core/tx/schemeshard/ut_user_attributes/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_user_attributes/CMakeLists.darwin.txt @@ -38,6 +38,14 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_user_attributes PUBLIC ydb-core-util yql-public-issue ) +target_link_options(ydb-core-tx-schemeshard-ut_user_attributes PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-schemeshard-ut_user_attributes PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_user_attributes.cpp ) @@ -52,15 +60,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_user_attributes - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-schemeshard-ut_user_attributes) diff --git a/ydb/core/tx/schemeshard/ut_user_attributes/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_user_attributes/CMakeLists.linux.txt index 46f63a7905..8b497ec05e 100644 --- a/ydb/core/tx/schemeshard/ut_user_attributes/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_user_attributes/CMakeLists.linux.txt @@ -39,6 +39,16 @@ target_link_libraries(ydb-core-tx-schemeshard-ut_user_attributes PUBLIC ydb-core-util yql-public-issue ) +target_link_options(ydb-core-tx-schemeshard-ut_user_attributes PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-schemeshard-ut_user_attributes PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_user_attributes.cpp ) @@ -53,15 +63,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-schemeshard-ut_user_attributes - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-schemeshard-ut_user_attributes) diff --git a/ydb/core/tx/schemeshard/ut_user_attributes_reboots/CMakeLists.darwin.txt b/ydb/core/tx/schemeshard/ut_user_attributes_reboots/CMakeLists.darwin.txt index cef1487a53..32f2b4de33 100644 --- a/ydb/core/tx/schemeshard/ut_user_attributes_reboots/CMakeLists.darwin.txt +++ b/ydb/core/tx/schemeshard/ut_user_attributes_reboots/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(core-tx-schemeshard-ut_user_attributes_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(core-tx-schemeshard-ut_user_attributes_reboots PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(core-tx-schemeshard-ut_user_attributes_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_user_attributes_reboots.cpp ) @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(core-tx-schemeshard-ut_user_attributes_reboots - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(core-tx-schemeshard-ut_user_attributes_reboots) diff --git a/ydb/core/tx/schemeshard/ut_user_attributes_reboots/CMakeLists.linux.txt b/ydb/core/tx/schemeshard/ut_user_attributes_reboots/CMakeLists.linux.txt index 5744f9e338..25749f3e09 100644 --- a/ydb/core/tx/schemeshard/ut_user_attributes_reboots/CMakeLists.linux.txt +++ b/ydb/core/tx/schemeshard/ut_user_attributes_reboots/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(core-tx-schemeshard-ut_user_attributes_reboots PUBLIC tx-schemeshard-ut_helpers udf-service-exception_policy ) +target_link_options(core-tx-schemeshard-ut_user_attributes_reboots PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(core-tx-schemeshard-ut_user_attributes_reboots PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/schemeshard/ut_user_attributes_reboots.cpp ) @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(core-tx-schemeshard-ut_user_attributes_reboots - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(core-tx-schemeshard-ut_user_attributes_reboots) diff --git a/ydb/core/tx/sequenceproxy/ut/CMakeLists.darwin.txt b/ydb/core/tx/sequenceproxy/ut/CMakeLists.darwin.txt index 0607f783eb..42dee28e6b 100644 --- a/ydb/core/tx/sequenceproxy/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/sequenceproxy/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-tx-sequenceproxy-ut PUBLIC core-tx-sequenceproxy ydb-core-testlib ) +target_link_options(ydb-core-tx-sequenceproxy-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-sequenceproxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/sequenceproxy/sequenceproxy_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-sequenceproxy-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-sequenceproxy-ut) diff --git a/ydb/core/tx/sequenceproxy/ut/CMakeLists.linux.txt b/ydb/core/tx/sequenceproxy/ut/CMakeLists.linux.txt index 5da32e1634..63eba97ad1 100644 --- a/ydb/core/tx/sequenceproxy/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/sequenceproxy/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-tx-sequenceproxy-ut PUBLIC core-tx-sequenceproxy ydb-core-testlib ) +target_link_options(ydb-core-tx-sequenceproxy-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-sequenceproxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/sequenceproxy/sequenceproxy_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-sequenceproxy-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-sequenceproxy-ut) diff --git a/ydb/core/tx/sequenceshard/public/ut/CMakeLists.darwin.txt b/ydb/core/tx/sequenceshard/public/ut/CMakeLists.darwin.txt index 7a2c7f2c47..c15d9e8fbd 100644 --- a/ydb/core/tx/sequenceshard/public/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/sequenceshard/public/ut/CMakeLists.darwin.txt @@ -21,6 +21,14 @@ target_link_libraries(ydb-core-tx-sequenceshard-public-ut PUBLIC cpp-testing-unittest_main tx-sequenceshard-public ) +target_link_options(ydb-core-tx-sequenceshard-public-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) add_test( NAME ydb-core-tx-sequenceshard-public-ut @@ -32,15 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-sequenceshard-public-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-sequenceshard-public-ut) diff --git a/ydb/core/tx/sequenceshard/public/ut/CMakeLists.linux.txt b/ydb/core/tx/sequenceshard/public/ut/CMakeLists.linux.txt index a2dc62b5af..29aee1137c 100644 --- a/ydb/core/tx/sequenceshard/public/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/sequenceshard/public/ut/CMakeLists.linux.txt @@ -22,6 +22,16 @@ target_link_libraries(ydb-core-tx-sequenceshard-public-ut PUBLIC cpp-testing-unittest_main tx-sequenceshard-public ) +target_link_options(ydb-core-tx-sequenceshard-public-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) add_test( NAME ydb-core-tx-sequenceshard-public-ut @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-sequenceshard-public-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-sequenceshard-public-ut) diff --git a/ydb/core/tx/sequenceshard/ut/CMakeLists.darwin.txt b/ydb/core/tx/sequenceshard/ut/CMakeLists.darwin.txt index 65e3575db7..85eeef122c 100644 --- a/ydb/core/tx/sequenceshard/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/sequenceshard/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-tx-sequenceshard-ut PUBLIC core-tx-sequenceshard ydb-core-testlib ) +target_link_options(ydb-core-tx-sequenceshard-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-sequenceshard-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/sequenceshard/ut_helpers.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/sequenceshard/ut_sequenceshard.cpp @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-sequenceshard-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-sequenceshard-ut) diff --git a/ydb/core/tx/sequenceshard/ut/CMakeLists.linux.txt b/ydb/core/tx/sequenceshard/ut/CMakeLists.linux.txt index d1326517d8..306bcd1b1a 100644 --- a/ydb/core/tx/sequenceshard/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/sequenceshard/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-tx-sequenceshard-ut PUBLIC core-tx-sequenceshard ydb-core-testlib ) +target_link_options(ydb-core-tx-sequenceshard-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-sequenceshard-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/sequenceshard/ut_helpers.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/sequenceshard/ut_sequenceshard.cpp @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-sequenceshard-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-sequenceshard-ut) diff --git a/ydb/core/tx/time_cast/ut/CMakeLists.darwin.txt b/ydb/core/tx/time_cast/ut/CMakeLists.darwin.txt index 739c896e11..0dee18c700 100644 --- a/ydb/core/tx/time_cast/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/time_cast/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-tx-time_cast-ut PUBLIC ydb-core-testlib ydb-core-tx ) +target_link_options(ydb-core-tx-time_cast-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-time_cast-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/time_cast/time_cast_ut.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-time_cast-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-time_cast-ut) diff --git a/ydb/core/tx/time_cast/ut/CMakeLists.linux.txt b/ydb/core/tx/time_cast/ut/CMakeLists.linux.txt index 636afb464e..05ccf5afe9 100644 --- a/ydb/core/tx/time_cast/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/time_cast/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-tx-time_cast-ut PUBLIC ydb-core-testlib ydb-core-tx ) +target_link_options(ydb-core-tx-time_cast-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-time_cast-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/time_cast/time_cast_ut.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-time_cast-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-time_cast-ut) diff --git a/ydb/core/tx/tx_allocator/ut/CMakeLists.darwin.txt b/ydb/core/tx/tx_allocator/ut/CMakeLists.darwin.txt index 9cf7f6295c..61b1088b73 100644 --- a/ydb/core/tx/tx_allocator/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/tx_allocator/ut/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-tx-tx_allocator-ut PUBLIC ydb-core-testlib ydb-core-tx ) +target_link_options(ydb-core-tx-tx_allocator-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-tx_allocator-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_allocator/txallocator_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_allocator/txallocator_ut_helpers.cpp @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_allocator-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-tx_allocator-ut) diff --git a/ydb/core/tx/tx_allocator/ut/CMakeLists.linux.txt b/ydb/core/tx/tx_allocator/ut/CMakeLists.linux.txt index 5d8c69fbf8..52ef0c379e 100644 --- a/ydb/core/tx/tx_allocator/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/tx_allocator/ut/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-tx-tx_allocator-ut PUBLIC ydb-core-testlib ydb-core-tx ) +target_link_options(ydb-core-tx-tx_allocator-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-tx_allocator-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_allocator/txallocator_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_allocator/txallocator_ut_helpers.cpp @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_allocator-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-tx_allocator-ut) diff --git a/ydb/core/tx/tx_allocator_client/ut/CMakeLists.darwin.txt b/ydb/core/tx/tx_allocator_client/ut/CMakeLists.darwin.txt index f0b90a348d..99336186d8 100644 --- a/ydb/core/tx/tx_allocator_client/ut/CMakeLists.darwin.txt +++ b/ydb/core/tx/tx_allocator_client/ut/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-core-tx-tx_allocator_client-ut PUBLIC ydb-core-testlib ydb-core-tx ) +target_link_options(ydb-core-tx-tx_allocator_client-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-tx_allocator_client-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_allocator_client/actor_client_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_allocator_client/ut_helpers.cpp @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_allocator_client-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-tx_allocator_client-ut) diff --git a/ydb/core/tx/tx_allocator_client/ut/CMakeLists.linux.txt b/ydb/core/tx/tx_allocator_client/ut/CMakeLists.linux.txt index f9197643e3..bf0b9693dd 100644 --- a/ydb/core/tx/tx_allocator_client/ut/CMakeLists.linux.txt +++ b/ydb/core/tx/tx_allocator_client/ut/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-core-tx-tx_allocator_client-ut PUBLIC ydb-core-testlib ydb-core-tx ) +target_link_options(ydb-core-tx-tx_allocator_client-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-tx_allocator_client-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_allocator_client/actor_client_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_allocator_client/ut_helpers.cpp @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_allocator_client-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-tx_allocator_client-ut) diff --git a/ydb/core/tx/tx_proxy/ut_base_tenant/CMakeLists.darwin.txt b/ydb/core/tx/tx_proxy/ut_base_tenant/CMakeLists.darwin.txt index 4cff7e2fc8..0812000707 100644 --- a/ydb/core/tx/tx_proxy/ut_base_tenant/CMakeLists.darwin.txt +++ b/ydb/core/tx/tx_proxy/ut_base_tenant/CMakeLists.darwin.txt @@ -27,6 +27,14 @@ target_link_libraries(ydb-core-tx-tx_proxy-ut_base_tenant PUBLIC ydb-core-tx udf-service-exception_policy ) +target_link_options(ydb-core-tx-tx_proxy-ut_base_tenant PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-tx_proxy-ut_base_tenant PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_proxy-ut_base_tenant - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-tx_proxy-ut_base_tenant) diff --git a/ydb/core/tx/tx_proxy/ut_base_tenant/CMakeLists.linux.txt b/ydb/core/tx/tx_proxy/ut_base_tenant/CMakeLists.linux.txt index 7e15cd13a7..0ee0fd917c 100644 --- a/ydb/core/tx/tx_proxy/ut_base_tenant/CMakeLists.linux.txt +++ b/ydb/core/tx/tx_proxy/ut_base_tenant/CMakeLists.linux.txt @@ -28,6 +28,16 @@ target_link_libraries(ydb-core-tx-tx_proxy-ut_base_tenant PUBLIC ydb-core-tx udf-service-exception_policy ) +target_link_options(ydb-core-tx-tx_proxy-ut_base_tenant PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-tx_proxy-ut_base_tenant PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_proxy-ut_base_tenant - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-tx_proxy-ut_base_tenant) diff --git a/ydb/core/tx/tx_proxy/ut_encrypted_storage/CMakeLists.darwin.txt b/ydb/core/tx/tx_proxy/ut_encrypted_storage/CMakeLists.darwin.txt index cf74b0f08b..2daa4feed9 100644 --- a/ydb/core/tx/tx_proxy/ut_encrypted_storage/CMakeLists.darwin.txt +++ b/ydb/core/tx/tx_proxy/ut_encrypted_storage/CMakeLists.darwin.txt @@ -27,6 +27,14 @@ target_link_libraries(ydb-core-tx-tx_proxy-ut_encrypted_storage PUBLIC ydb-core-tx udf-service-exception_policy ) +target_link_options(ydb-core-tx-tx_proxy-ut_encrypted_storage PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-tx_proxy-ut_encrypted_storage PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/encrypted_storage_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_proxy-ut_encrypted_storage - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-tx_proxy-ut_encrypted_storage) diff --git a/ydb/core/tx/tx_proxy/ut_encrypted_storage/CMakeLists.linux.txt b/ydb/core/tx/tx_proxy/ut_encrypted_storage/CMakeLists.linux.txt index 97035d470d..58ec01b8fc 100644 --- a/ydb/core/tx/tx_proxy/ut_encrypted_storage/CMakeLists.linux.txt +++ b/ydb/core/tx/tx_proxy/ut_encrypted_storage/CMakeLists.linux.txt @@ -28,6 +28,16 @@ target_link_libraries(ydb-core-tx-tx_proxy-ut_encrypted_storage PUBLIC ydb-core-tx udf-service-exception_policy ) +target_link_options(ydb-core-tx-tx_proxy-ut_encrypted_storage PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-tx_proxy-ut_encrypted_storage PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/encrypted_storage_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_proxy-ut_encrypted_storage - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-tx_proxy-ut_encrypted_storage) diff --git a/ydb/core/tx/tx_proxy/ut_ext_tenant/CMakeLists.darwin.txt b/ydb/core/tx/tx_proxy/ut_ext_tenant/CMakeLists.darwin.txt index 473d605713..8267e24b87 100644 --- a/ydb/core/tx/tx_proxy/ut_ext_tenant/CMakeLists.darwin.txt +++ b/ydb/core/tx/tx_proxy/ut_ext_tenant/CMakeLists.darwin.txt @@ -27,6 +27,14 @@ target_link_libraries(ydb-core-tx-tx_proxy-ut_ext_tenant PUBLIC ydb-core-tx udf-service-exception_policy ) +target_link_options(ydb-core-tx-tx_proxy-ut_ext_tenant PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-tx_proxy-ut_ext_tenant PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ext_tenant_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp @@ -42,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_proxy-ut_ext_tenant - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-tx_proxy-ut_ext_tenant) diff --git a/ydb/core/tx/tx_proxy/ut_ext_tenant/CMakeLists.linux.txt b/ydb/core/tx/tx_proxy/ut_ext_tenant/CMakeLists.linux.txt index c9024f6fd3..5ad927f031 100644 --- a/ydb/core/tx/tx_proxy/ut_ext_tenant/CMakeLists.linux.txt +++ b/ydb/core/tx/tx_proxy/ut_ext_tenant/CMakeLists.linux.txt @@ -28,6 +28,16 @@ target_link_libraries(ydb-core-tx-tx_proxy-ut_ext_tenant PUBLIC ydb-core-tx udf-service-exception_policy ) +target_link_options(ydb-core-tx-tx_proxy-ut_ext_tenant PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-tx_proxy-ut_ext_tenant PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ext_tenant_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp @@ -43,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_proxy-ut_ext_tenant - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-tx_proxy-ut_ext_tenant) diff --git a/ydb/core/tx/tx_proxy/ut_storage_tenant/CMakeLists.darwin.txt b/ydb/core/tx/tx_proxy/ut_storage_tenant/CMakeLists.darwin.txt index 32fece706b..64ca795a62 100644 --- a/ydb/core/tx/tx_proxy/ut_storage_tenant/CMakeLists.darwin.txt +++ b/ydb/core/tx/tx_proxy/ut_storage_tenant/CMakeLists.darwin.txt @@ -28,6 +28,14 @@ target_link_libraries(ydb-core-tx-tx_proxy-ut_storage_tenant PUBLIC ydb-core-tx udf-service-exception_policy ) +target_link_options(ydb-core-tx-tx_proxy-ut_storage_tenant PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-tx-tx_proxy-ut_storage_tenant PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/storage_tenant_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_proxy-ut_storage_tenant - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-tx-tx_proxy-ut_storage_tenant) diff --git a/ydb/core/tx/tx_proxy/ut_storage_tenant/CMakeLists.linux.txt b/ydb/core/tx/tx_proxy/ut_storage_tenant/CMakeLists.linux.txt index 809e217d56..41f0c31f82 100644 --- a/ydb/core/tx/tx_proxy/ut_storage_tenant/CMakeLists.linux.txt +++ b/ydb/core/tx/tx_proxy/ut_storage_tenant/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-core-tx-tx_proxy-ut_storage_tenant PUBLIC ydb-core-tx udf-service-exception_policy ) +target_link_options(ydb-core-tx-tx_proxy-ut_storage_tenant PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-tx-tx_proxy-ut_storage_tenant PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/storage_tenant_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/tx/tx_proxy/proxy_ut_helpers.cpp @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-tx-tx_proxy-ut_storage_tenant - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-tx-tx_proxy-ut_storage_tenant) diff --git a/ydb/core/util/btree_benchmark/CMakeLists.darwin.txt b/ydb/core/util/btree_benchmark/CMakeLists.darwin.txt index 8825e843c8..73c809e53b 100644 --- a/ydb/core/util/btree_benchmark/CMakeLists.darwin.txt +++ b/ydb/core/util/btree_benchmark/CMakeLists.darwin.txt @@ -17,18 +17,15 @@ target_link_libraries(btree_benchmark PUBLIC cpp-threading-skip_list ydb-core-util ) -target_sources(btree_benchmark PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/core/util/btree_benchmark/main.cpp -) -target_link_flags(btree_benchmark - PUBLIC +target_link_options(btree_benchmark PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC -framework CoreFoundation - -framework - CoreFoundation +) +target_sources(btree_benchmark PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/util/btree_benchmark/main.cpp ) vcs_info(btree_benchmark) diff --git a/ydb/core/util/btree_benchmark/CMakeLists.linux.txt b/ydb/core/util/btree_benchmark/CMakeLists.linux.txt index a1a25d553a..857c63b81f 100644 --- a/ydb/core/util/btree_benchmark/CMakeLists.linux.txt +++ b/ydb/core/util/btree_benchmark/CMakeLists.linux.txt @@ -17,11 +17,7 @@ target_link_libraries(btree_benchmark PUBLIC cpp-threading-skip_list ydb-core-util ) -target_sources(btree_benchmark PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/core/util/btree_benchmark/main.cpp -) -target_link_flags(btree_benchmark - PUBLIC +target_link_options(btree_benchmark PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -31,4 +27,7 @@ target_link_flags(btree_benchmark -lrt -ldl ) +target_sources(btree_benchmark PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/util/btree_benchmark/main.cpp +) vcs_info(btree_benchmark) diff --git a/ydb/core/util/ut/CMakeLists.darwin.txt b/ydb/core/util/ut/CMakeLists.darwin.txt index 7aa07d66c4..34fa381ca0 100644 --- a/ydb/core/util/ut/CMakeLists.darwin.txt +++ b/ydb/core/util/ut/CMakeLists.darwin.txt @@ -21,6 +21,14 @@ target_link_libraries(ydb-core-util-ut PUBLIC library-cpp-svnversion cpp-threading-future ) +target_link_options(ydb-core-util-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-util-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/util/address_classifier_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/util/bits_ut.cpp @@ -62,15 +70,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-util-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-util-ut) diff --git a/ydb/core/util/ut/CMakeLists.linux.txt b/ydb/core/util/ut/CMakeLists.linux.txt index 6b18ad8671..938aca87b3 100644 --- a/ydb/core/util/ut/CMakeLists.linux.txt +++ b/ydb/core/util/ut/CMakeLists.linux.txt @@ -22,6 +22,16 @@ target_link_libraries(ydb-core-util-ut PUBLIC library-cpp-svnversion cpp-threading-future ) +target_link_options(ydb-core-util-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-util-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/util/address_classifier_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/util/bits_ut.cpp @@ -63,15 +73,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-util-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-util-ut) diff --git a/ydb/core/viewer/ut/CMakeLists.darwin.txt b/ydb/core/viewer/ut/CMakeLists.darwin.txt index 817d65426a..ea1a9b5c67 100644 --- a/ydb/core/viewer/ut/CMakeLists.darwin.txt +++ b/ydb/core/viewer/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-viewer-ut PUBLIC ydb-core-viewer ydb-core-testlib ) +target_link_options(ydb-core-viewer-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-viewer-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/viewer/viewer_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-viewer-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-viewer-ut) diff --git a/ydb/core/viewer/ut/CMakeLists.linux.txt b/ydb/core/viewer/ut/CMakeLists.linux.txt index ebbd07a250..eb0b3f3ff2 100644 --- a/ydb/core/viewer/ut/CMakeLists.linux.txt +++ b/ydb/core/viewer/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-viewer-ut PUBLIC ydb-core-viewer ydb-core-testlib ) +target_link_options(ydb-core-viewer-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-viewer-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/viewer/viewer_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-viewer-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-viewer-ut) diff --git a/ydb/core/wrappers/ut/CMakeLists.darwin.txt b/ydb/core/wrappers/ut/CMakeLists.darwin.txt index b55343e613..0a645d66c1 100644 --- a/ydb/core/wrappers/ut/CMakeLists.darwin.txt +++ b/ydb/core/wrappers/ut/CMakeLists.darwin.txt @@ -27,6 +27,14 @@ target_link_libraries(ydb-core-wrappers-ut PUBLIC core-testlib-basics core-wrappers-ut_helpers ) +target_link_options(ydb-core-wrappers-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-wrappers-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/wrappers/s3_wrapper_ut.cpp ) @@ -41,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-wrappers-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-wrappers-ut) diff --git a/ydb/core/wrappers/ut/CMakeLists.linux.txt b/ydb/core/wrappers/ut/CMakeLists.linux.txt index 31f0c8e1d9..e5dd12b60a 100644 --- a/ydb/core/wrappers/ut/CMakeLists.linux.txt +++ b/ydb/core/wrappers/ut/CMakeLists.linux.txt @@ -28,6 +28,16 @@ target_link_libraries(ydb-core-wrappers-ut PUBLIC core-testlib-basics core-wrappers-ut_helpers ) +target_link_options(ydb-core-wrappers-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-wrappers-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/wrappers/s3_wrapper_ut.cpp ) @@ -42,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-wrappers-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-wrappers-ut) diff --git a/ydb/core/ydb_convert/ut/CMakeLists.darwin.txt b/ydb/core/ydb_convert/ut/CMakeLists.darwin.txt index 6ec3c357ae..d21aef26fb 100644 --- a/ydb/core/ydb_convert/ut/CMakeLists.darwin.txt +++ b/ydb/core/ydb_convert/ut/CMakeLists.darwin.txt @@ -20,6 +20,14 @@ target_link_libraries(ydb-core-ydb_convert-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-ydb_convert-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-ydb_convert-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/ydb_convert/ydb_convert_ut.cpp ) @@ -34,15 +42,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-ydb_convert-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-ydb_convert-ut) diff --git a/ydb/core/ydb_convert/ut/CMakeLists.linux.txt b/ydb/core/ydb_convert/ut/CMakeLists.linux.txt index 1b71468642..de2bbe219e 100644 --- a/ydb/core/ydb_convert/ut/CMakeLists.linux.txt +++ b/ydb/core/ydb_convert/ut/CMakeLists.linux.txt @@ -21,6 +21,16 @@ target_link_libraries(ydb-core-ydb_convert-ut PUBLIC cpp-testing-unittest ydb-core-testlib ) +target_link_options(ydb-core-ydb_convert-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-ydb_convert-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/ydb_convert/ydb_convert_ut.cpp ) @@ -35,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-ydb_convert-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-ydb_convert-ut) diff --git a/ydb/core/ymq/client/bin/CMakeLists.darwin.txt b/ydb/core/ymq/client/bin/CMakeLists.darwin.txt index eef7e09202..83e547ed79 100644 --- a/ydb/core/ymq/client/bin/CMakeLists.darwin.txt +++ b/ydb/core/ymq/client/bin/CMakeLists.darwin.txt @@ -16,11 +16,7 @@ target_link_libraries(sqs PUBLIC ymq-client-cpp core-ymq-proto ) -target_sources(sqs PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/core/ymq/client/bin/main.cpp -) -target_link_flags(sqs - PUBLIC +target_link_options(sqs PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC @@ -28,4 +24,7 @@ target_link_flags(sqs -framework CoreFoundation ) +target_sources(sqs PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/ymq/client/bin/main.cpp +) vcs_info(sqs) diff --git a/ydb/core/ymq/client/bin/CMakeLists.linux.txt b/ydb/core/ymq/client/bin/CMakeLists.linux.txt index d6c4281e2e..2e1e66b3a6 100644 --- a/ydb/core/ymq/client/bin/CMakeLists.linux.txt +++ b/ydb/core/ymq/client/bin/CMakeLists.linux.txt @@ -17,11 +17,7 @@ target_link_libraries(sqs PUBLIC ymq-client-cpp core-ymq-proto ) -target_sources(sqs PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/core/ymq/client/bin/main.cpp -) -target_link_flags(sqs - PUBLIC +target_link_options(sqs PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -31,4 +27,7 @@ target_link_flags(sqs -lrt -ldl ) +target_sources(sqs PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/core/ymq/client/bin/main.cpp +) vcs_info(sqs) diff --git a/ydb/core/ymq/ut/CMakeLists.darwin.txt b/ydb/core/ymq/ut/CMakeLists.darwin.txt index 32459f4dd1..b4b222fd57 100644 --- a/ydb/core/ymq/ut/CMakeLists.darwin.txt +++ b/ydb/core/ymq/ut/CMakeLists.darwin.txt @@ -17,6 +17,14 @@ target_link_libraries(ydb-core-ymq-ut PUBLIC core-ymq-http library-http_proxy-error ) +target_link_options(ydb-core-ymq-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-ymq-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/ymq/ut/queue_id_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/ymq/ut/params_ut.cpp @@ -32,15 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-ymq-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-ymq-ut) diff --git a/ydb/core/ymq/ut/CMakeLists.linux.txt b/ydb/core/ymq/ut/CMakeLists.linux.txt index 93628ecd8e..031766b93a 100644 --- a/ydb/core/ymq/ut/CMakeLists.linux.txt +++ b/ydb/core/ymq/ut/CMakeLists.linux.txt @@ -18,6 +18,16 @@ target_link_libraries(ydb-core-ymq-ut PUBLIC core-ymq-http library-http_proxy-error ) +target_link_options(ydb-core-ymq-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-ymq-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/ymq/ut/queue_id_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/ymq/ut/params_ut.cpp @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-ymq-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-ymq-ut) diff --git a/ydb/core/yq/libs/checkpointing/ut/CMakeLists.darwin.txt b/ydb/core/yq/libs/checkpointing/ut/CMakeLists.darwin.txt index 09a0857492..f809e1b0f7 100644 --- a/ydb/core/yq/libs/checkpointing/ut/CMakeLists.darwin.txt +++ b/ydb/core/yq/libs/checkpointing/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-yq-libs-checkpointing-ut PUBLIC core-testlib-actors core-testlib-basics ) +target_link_options(ydb-core-yq-libs-checkpointing-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-yq-libs-checkpointing-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/checkpointing/ut/checkpoint_coordinator_ut.cpp ) @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-checkpointing-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-yq-libs-checkpointing-ut) diff --git a/ydb/core/yq/libs/checkpointing/ut/CMakeLists.linux.txt b/ydb/core/yq/libs/checkpointing/ut/CMakeLists.linux.txt index bc9e73cf5f..475ba9c89a 100644 --- a/ydb/core/yq/libs/checkpointing/ut/CMakeLists.linux.txt +++ b/ydb/core/yq/libs/checkpointing/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-yq-libs-checkpointing-ut PUBLIC core-testlib-actors core-testlib-basics ) +target_link_options(ydb-core-yq-libs-checkpointing-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-yq-libs-checkpointing-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/checkpointing/ut/checkpoint_coordinator_ut.cpp ) @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-checkpointing-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-yq-libs-checkpointing-ut) diff --git a/ydb/core/yq/libs/common/ut/CMakeLists.darwin.txt b/ydb/core/yq/libs/common/ut/CMakeLists.darwin.txt index e9de778fc3..f309d0168e 100644 --- a/ydb/core/yq/libs/common/ut/CMakeLists.darwin.txt +++ b/ydb/core/yq/libs/common/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-core-yq-libs-common-ut PUBLIC udf-service-stub ydb-services-ydb ) +target_link_options(ydb-core-yq-libs-common-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-yq-libs-common-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/common/cache_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/common/entity_id_ut.cpp @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-common-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-yq-libs-common-ut) diff --git a/ydb/core/yq/libs/common/ut/CMakeLists.linux.txt b/ydb/core/yq/libs/common/ut/CMakeLists.linux.txt index 12f34f5f60..f8ab994a02 100644 --- a/ydb/core/yq/libs/common/ut/CMakeLists.linux.txt +++ b/ydb/core/yq/libs/common/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-core-yq-libs-common-ut PUBLIC udf-service-stub ydb-services-ydb ) +target_link_options(ydb-core-yq-libs-common-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-yq-libs-common-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/common/cache_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/common/entity_id_ut.cpp @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-common-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-yq-libs-common-ut) diff --git a/ydb/core/yq/libs/control_plane_proxy/ut/CMakeLists.darwin.txt b/ydb/core/yq/libs/control_plane_proxy/ut/CMakeLists.darwin.txt index 42a0d6abb5..410d65c861 100644 --- a/ydb/core/yq/libs/control_plane_proxy/ut/CMakeLists.darwin.txt +++ b/ydb/core/yq/libs/control_plane_proxy/ut/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-core-yq-libs-control_plane_proxy-ut PUBLIC ydb-library-folder_service library-folder_service-mock ) +target_link_options(ydb-core-yq-libs-control_plane_proxy-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-yq-libs-control_plane_proxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/control_plane_proxy/ut/control_plane_proxy_ut.cpp ) @@ -43,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-control_plane_proxy-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-yq-libs-control_plane_proxy-ut) diff --git a/ydb/core/yq/libs/control_plane_proxy/ut/CMakeLists.linux.txt b/ydb/core/yq/libs/control_plane_proxy/ut/CMakeLists.linux.txt index 1808d94a9f..2bd15b6cf3 100644 --- a/ydb/core/yq/libs/control_plane_proxy/ut/CMakeLists.linux.txt +++ b/ydb/core/yq/libs/control_plane_proxy/ut/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-core-yq-libs-control_plane_proxy-ut PUBLIC ydb-library-folder_service library-folder_service-mock ) +target_link_options(ydb-core-yq-libs-control_plane_proxy-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-yq-libs-control_plane_proxy-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/control_plane_proxy/ut/control_plane_proxy_ut.cpp ) @@ -44,15 +54,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-control_plane_proxy-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-yq-libs-control_plane_proxy-ut) diff --git a/ydb/core/yq/libs/hmac/ut/CMakeLists.darwin.txt b/ydb/core/yq/libs/hmac/ut/CMakeLists.darwin.txt index ad16af116f..a999cb1a90 100644 --- a/ydb/core/yq/libs/hmac/ut/CMakeLists.darwin.txt +++ b/ydb/core/yq/libs/hmac/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-core-yq-libs-hmac-ut PUBLIC cpp-testing-unittest_main yq-libs-hmac ) +target_link_options(ydb-core-yq-libs-hmac-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-core-yq-libs-hmac-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/hmac/ut/hmac_ut.cpp ) @@ -32,11 +38,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-hmac-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-core-yq-libs-hmac-ut) diff --git a/ydb/core/yq/libs/hmac/ut/CMakeLists.linux.txt b/ydb/core/yq/libs/hmac/ut/CMakeLists.linux.txt index 5a00a55949..6319e0a1a2 100644 --- a/ydb/core/yq/libs/hmac/ut/CMakeLists.linux.txt +++ b/ydb/core/yq/libs/hmac/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-core-yq-libs-hmac-ut PUBLIC cpp-testing-unittest_main yq-libs-hmac ) +target_link_options(ydb-core-yq-libs-hmac-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-yq-libs-hmac-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/hmac/ut/hmac_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-hmac-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-yq-libs-hmac-ut) diff --git a/ydb/core/yq/libs/result_formatter/ut/CMakeLists.darwin.txt b/ydb/core/yq/libs/result_formatter/ut/CMakeLists.darwin.txt index d0d2da3e0d..838671a904 100644 --- a/ydb/core/yq/libs/result_formatter/ut/CMakeLists.darwin.txt +++ b/ydb/core/yq/libs/result_formatter/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-core-yq-libs-result_formatter-ut PUBLIC yql-sql-pg_dummy ydb-services-ydb ) +target_link_options(ydb-core-yq-libs-result_formatter-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-yq-libs-result_formatter-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/result_formatter/result_formatter_ut.cpp ) @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-result_formatter-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-yq-libs-result_formatter-ut) diff --git a/ydb/core/yq/libs/result_formatter/ut/CMakeLists.linux.txt b/ydb/core/yq/libs/result_formatter/ut/CMakeLists.linux.txt index cd3db01f7f..affede97de 100644 --- a/ydb/core/yq/libs/result_formatter/ut/CMakeLists.linux.txt +++ b/ydb/core/yq/libs/result_formatter/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-core-yq-libs-result_formatter-ut PUBLIC yql-sql-pg_dummy ydb-services-ydb ) +target_link_options(ydb-core-yq-libs-result_formatter-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-yq-libs-result_formatter-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/result_formatter/result_formatter_ut.cpp ) @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-result_formatter-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-yq-libs-result_formatter-ut) diff --git a/ydb/core/yq/libs/signer/ut/CMakeLists.darwin.txt b/ydb/core/yq/libs/signer/ut/CMakeLists.darwin.txt index a58b5a5858..9a1ad9da70 100644 --- a/ydb/core/yq/libs/signer/ut/CMakeLists.darwin.txt +++ b/ydb/core/yq/libs/signer/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-core-yq-libs-signer-ut PUBLIC cpp-testing-unittest_main yq-libs-signer ) +target_link_options(ydb-core-yq-libs-signer-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-core-yq-libs-signer-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/signer/ut/signer_ut.cpp ) @@ -32,11 +38,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-signer-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-core-yq-libs-signer-ut) diff --git a/ydb/core/yq/libs/signer/ut/CMakeLists.linux.txt b/ydb/core/yq/libs/signer/ut/CMakeLists.linux.txt index 2b85d5f5d2..885aa74ac4 100644 --- a/ydb/core/yq/libs/signer/ut/CMakeLists.linux.txt +++ b/ydb/core/yq/libs/signer/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-core-yq-libs-signer-ut PUBLIC cpp-testing-unittest_main yq-libs-signer ) +target_link_options(ydb-core-yq-libs-signer-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-yq-libs-signer-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/signer/ut/signer_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-signer-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-yq-libs-signer-ut) diff --git a/ydb/core/yq/libs/test_connection/ut/CMakeLists.darwin.txt b/ydb/core/yq/libs/test_connection/ut/CMakeLists.darwin.txt index d5790c745a..9ceb7c407b 100644 --- a/ydb/core/yq/libs/test_connection/ut/CMakeLists.darwin.txt +++ b/ydb/core/yq/libs/test_connection/ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(ydb-core-yq-libs-test_connection-ut PUBLIC yq-libs-control_plane_proxy cpp-testing-unittest ) +target_link_options(ydb-core-yq-libs-test_connection-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-core-yq-libs-test_connection-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/test_connection/ut/test_connection_ut.cpp ) @@ -36,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-test_connection-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-core-yq-libs-test_connection-ut) diff --git a/ydb/core/yq/libs/test_connection/ut/CMakeLists.linux.txt b/ydb/core/yq/libs/test_connection/ut/CMakeLists.linux.txt index a0f489ce6b..e08c7a31db 100644 --- a/ydb/core/yq/libs/test_connection/ut/CMakeLists.linux.txt +++ b/ydb/core/yq/libs/test_connection/ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(ydb-core-yq-libs-test_connection-ut PUBLIC yq-libs-control_plane_proxy cpp-testing-unittest ) +target_link_options(ydb-core-yq-libs-test_connection-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-core-yq-libs-test_connection-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/core/yq/libs/test_connection/ut/test_connection_ut.cpp ) @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-core-yq-libs-test_connection-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-core-yq-libs-test_connection-ut) diff --git a/ydb/library/aclib/ut/CMakeLists.darwin.txt b/ydb/library/aclib/ut/CMakeLists.darwin.txt index b63c2f229c..bb5e85c5fc 100644 --- a/ydb/library/aclib/ut/CMakeLists.darwin.txt +++ b/ydb/library/aclib/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-aclib-ut PUBLIC cpp-testing-unittest_main ydb-library-aclib ) +target_link_options(ydb-library-aclib-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-aclib-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/aclib/aclib_ut.cpp ) @@ -32,11 +38,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-aclib-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-aclib-ut) diff --git a/ydb/library/aclib/ut/CMakeLists.linux.txt b/ydb/library/aclib/ut/CMakeLists.linux.txt index 7f409f5981..c03920f6a2 100644 --- a/ydb/library/aclib/ut/CMakeLists.linux.txt +++ b/ydb/library/aclib/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-aclib-ut PUBLIC cpp-testing-unittest_main ydb-library-aclib ) +target_link_options(ydb-library-aclib-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-aclib-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/aclib/aclib_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-aclib-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-aclib-ut) diff --git a/ydb/library/backup/ut/CMakeLists.darwin.txt b/ydb/library/backup/ut/CMakeLists.darwin.txt index bd93c6675d..8c7b0a3139 100644 --- a/ydb/library/backup/ut/CMakeLists.darwin.txt +++ b/ydb/library/backup/ut/CMakeLists.darwin.txt @@ -19,6 +19,14 @@ target_link_libraries(ydb-library-backup-ut PUBLIC kikimr_backup cpp-string_utils-quote ) +target_link_options(ydb-library-backup-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-library-backup-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/backup/ut/ut.cpp ) @@ -33,13 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-backup-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-library-backup-ut) diff --git a/ydb/library/backup/ut/CMakeLists.linux.txt b/ydb/library/backup/ut/CMakeLists.linux.txt index 8fc11b467a..b5d06371a5 100644 --- a/ydb/library/backup/ut/CMakeLists.linux.txt +++ b/ydb/library/backup/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-library-backup-ut PUBLIC kikimr_backup cpp-string_utils-quote ) +target_link_options(ydb-library-backup-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-backup-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/backup/ut/ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-backup-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-backup-ut) diff --git a/ydb/library/binary_json/ut/CMakeLists.darwin.txt b/ydb/library/binary_json/ut/CMakeLists.darwin.txt index e9675c75a0..72fdd93cb2 100644 --- a/ydb/library/binary_json/ut/CMakeLists.darwin.txt +++ b/ydb/library/binary_json/ut/CMakeLists.darwin.txt @@ -28,6 +28,12 @@ target_link_libraries(ydb-library-binary_json-ut PUBLIC core-issue-protos yql-sql-pg_dummy ) +target_link_options(ydb-library-binary_json-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-binary_json-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/binary_json/ut/container_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/binary_json/ut/identity_ut.cpp @@ -46,13 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-binary_json-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-library-binary_json-ut) diff --git a/ydb/library/binary_json/ut/CMakeLists.linux.txt b/ydb/library/binary_json/ut/CMakeLists.linux.txt index 43049c196e..534ea2ea0c 100644 --- a/ydb/library/binary_json/ut/CMakeLists.linux.txt +++ b/ydb/library/binary_json/ut/CMakeLists.linux.txt @@ -29,6 +29,16 @@ target_link_libraries(ydb-library-binary_json-ut PUBLIC core-issue-protos yql-sql-pg_dummy ) +target_link_options(ydb-library-binary_json-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-binary_json-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/binary_json/ut/container_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/binary_json/ut/identity_ut.cpp @@ -47,15 +57,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-binary_json-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-binary_json-ut) diff --git a/ydb/library/dynumber/ut/CMakeLists.darwin.txt b/ydb/library/dynumber/ut/CMakeLists.darwin.txt index 3b3c2f2c57..16cf7b1ec2 100644 --- a/ydb/library/dynumber/ut/CMakeLists.darwin.txt +++ b/ydb/library/dynumber/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-dynumber-ut PUBLIC cpp-testing-unittest_main ydb-library-dynumber ) +target_link_options(ydb-library-dynumber-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-dynumber-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/dynumber/ut/dynumber_ut.cpp ) @@ -32,11 +38,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-dynumber-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-dynumber-ut) diff --git a/ydb/library/dynumber/ut/CMakeLists.linux.txt b/ydb/library/dynumber/ut/CMakeLists.linux.txt index 33ea743354..b5f56c475b 100644 --- a/ydb/library/dynumber/ut/CMakeLists.linux.txt +++ b/ydb/library/dynumber/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-dynumber-ut PUBLIC cpp-testing-unittest_main ydb-library-dynumber ) +target_link_options(ydb-library-dynumber-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-dynumber-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/dynumber/ut/dynumber_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-dynumber-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-dynumber-ut) diff --git a/ydb/library/http_proxy/authorization/ut/CMakeLists.darwin.txt b/ydb/library/http_proxy/authorization/ut/CMakeLists.darwin.txt index 358f6e474f..4d41a6db71 100644 --- a/ydb/library/http_proxy/authorization/ut/CMakeLists.darwin.txt +++ b/ydb/library/http_proxy/authorization/ut/CMakeLists.darwin.txt @@ -19,6 +19,12 @@ target_link_libraries(ydb-library-http_proxy-authorization-ut PUBLIC library-http_proxy-authorization library-http_proxy-error ) +target_link_options(ydb-library-http_proxy-authorization-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-http_proxy-authorization-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/http_proxy/authorization/ut/auth_helpers_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/http_proxy/authorization/ut/signature_ut.cpp @@ -34,11 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-http_proxy-authorization-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-http_proxy-authorization-ut) diff --git a/ydb/library/http_proxy/authorization/ut/CMakeLists.linux.txt b/ydb/library/http_proxy/authorization/ut/CMakeLists.linux.txt index 3341f40763..50e89891ed 100644 --- a/ydb/library/http_proxy/authorization/ut/CMakeLists.linux.txt +++ b/ydb/library/http_proxy/authorization/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-library-http_proxy-authorization-ut PUBLIC library-http_proxy-authorization library-http_proxy-error ) +target_link_options(ydb-library-http_proxy-authorization-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-http_proxy-authorization-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/http_proxy/authorization/ut/auth_helpers_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/http_proxy/authorization/ut/signature_ut.cpp @@ -35,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-http_proxy-authorization-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-http_proxy-authorization-ut) diff --git a/ydb/library/keys/ut/CMakeLists.darwin.txt b/ydb/library/keys/ut/CMakeLists.darwin.txt index 24c0fe399f..232ebba2d4 100644 --- a/ydb/library/keys/ut/CMakeLists.darwin.txt +++ b/ydb/library/keys/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-keys-ut PUBLIC cpp-testing-unittest_main ydb-library-keys ) +target_link_options(ydb-library-keys-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-keys-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/keys/default_keys_ut.cpp ) @@ -32,11 +38,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-keys-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-keys-ut) diff --git a/ydb/library/keys/ut/CMakeLists.linux.txt b/ydb/library/keys/ut/CMakeLists.linux.txt index fd6ae5d8a5..694aba85ac 100644 --- a/ydb/library/keys/ut/CMakeLists.linux.txt +++ b/ydb/library/keys/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-keys-ut PUBLIC cpp-testing-unittest_main ydb-library-keys ) +target_link_options(ydb-library-keys-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-keys-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/keys/default_keys_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-keys-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-keys-ut) diff --git a/ydb/library/login/ut/CMakeLists.darwin.txt b/ydb/library/login/ut/CMakeLists.darwin.txt index 58dbb6e1b1..d755a8dc53 100644 --- a/ydb/library/login/ut/CMakeLists.darwin.txt +++ b/ydb/library/login/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-login-ut PUBLIC cpp-testing-unittest_main ydb-library-login ) +target_link_options(ydb-library-login-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-login-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/login/login_ut.cpp ) @@ -32,11 +38,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-login-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-login-ut) diff --git a/ydb/library/login/ut/CMakeLists.linux.txt b/ydb/library/login/ut/CMakeLists.linux.txt index 0452add870..2342b4379f 100644 --- a/ydb/library/login/ut/CMakeLists.linux.txt +++ b/ydb/library/login/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-login-ut PUBLIC cpp-testing-unittest_main ydb-library-login ) +target_link_options(ydb-library-login-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-login-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/login/login_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-login-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-login-ut) diff --git a/ydb/library/mkql_proto/ut/CMakeLists.darwin.txt b/ydb/library/mkql_proto/ut/CMakeLists.darwin.txt index a6ec32b537..9c5feac322 100644 --- a/ydb/library/mkql_proto/ut/CMakeLists.darwin.txt +++ b/ydb/library/mkql_proto/ut/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-library-mkql_proto-ut PUBLIC udf-service-exception_policy ydb-core-yql_testlib ) +target_link_options(ydb-library-mkql_proto-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-library-mkql_proto-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/mkql_proto/mkql_proto_ut.cpp ) @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-mkql_proto-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-library-mkql_proto-ut) diff --git a/ydb/library/mkql_proto/ut/CMakeLists.linux.txt b/ydb/library/mkql_proto/ut/CMakeLists.linux.txt index 0a8e932b90..93263048d0 100644 --- a/ydb/library/mkql_proto/ut/CMakeLists.linux.txt +++ b/ydb/library/mkql_proto/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-library-mkql_proto-ut PUBLIC udf-service-exception_policy ydb-core-yql_testlib ) +target_link_options(ydb-library-mkql_proto-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-mkql_proto-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/mkql_proto/mkql_proto_ut.cpp ) @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-mkql_proto-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-mkql_proto-ut) diff --git a/ydb/library/naming_conventions/ut/CMakeLists.darwin.txt b/ydb/library/naming_conventions/ut/CMakeLists.darwin.txt index 8294ff9533..58fcfce68b 100644 --- a/ydb/library/naming_conventions/ut/CMakeLists.darwin.txt +++ b/ydb/library/naming_conventions/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-naming_conventions-ut PUBLIC cpp-testing-unittest_main ydb-library-naming_conventions ) +target_link_options(ydb-library-naming_conventions-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-naming_conventions-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/naming_conventions/ut/naming_conventions_ut.cpp ) @@ -32,11 +38,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-naming_conventions-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-naming_conventions-ut) diff --git a/ydb/library/naming_conventions/ut/CMakeLists.linux.txt b/ydb/library/naming_conventions/ut/CMakeLists.linux.txt index 71e1d06c21..d3fbb36253 100644 --- a/ydb/library/naming_conventions/ut/CMakeLists.linux.txt +++ b/ydb/library/naming_conventions/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-naming_conventions-ut PUBLIC cpp-testing-unittest_main ydb-library-naming_conventions ) +target_link_options(ydb-library-naming_conventions-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-naming_conventions-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/naming_conventions/ut/naming_conventions_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-naming_conventions-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-naming_conventions-ut) diff --git a/ydb/library/persqueue/topic_parser/ut/CMakeLists.darwin.txt b/ydb/library/persqueue/topic_parser/ut/CMakeLists.darwin.txt index ca2adb3a4e..877eac82ba 100644 --- a/ydb/library/persqueue/topic_parser/ut/CMakeLists.darwin.txt +++ b/ydb/library/persqueue/topic_parser/ut/CMakeLists.darwin.txt @@ -20,6 +20,14 @@ target_link_libraries(ydb-library-persqueue-topic_parser-ut PUBLIC library-cpp-getopt library-cpp-svnversion ) +target_link_options(ydb-library-persqueue-topic_parser-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-library-persqueue-topic_parser-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/persqueue/topic_parser/ut/topic_names_converter_ut.cpp ) @@ -34,15 +42,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-persqueue-topic_parser-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-library-persqueue-topic_parser-ut) diff --git a/ydb/library/persqueue/topic_parser/ut/CMakeLists.linux.txt b/ydb/library/persqueue/topic_parser/ut/CMakeLists.linux.txt index f94a612eb3..4e589bf606 100644 --- a/ydb/library/persqueue/topic_parser/ut/CMakeLists.linux.txt +++ b/ydb/library/persqueue/topic_parser/ut/CMakeLists.linux.txt @@ -21,6 +21,16 @@ target_link_libraries(ydb-library-persqueue-topic_parser-ut PUBLIC library-cpp-getopt library-cpp-svnversion ) +target_link_options(ydb-library-persqueue-topic_parser-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-persqueue-topic_parser-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/persqueue/topic_parser/ut/topic_names_converter_ut.cpp ) @@ -35,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-persqueue-topic_parser-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-persqueue-topic_parser-ut) diff --git a/ydb/library/protobuf_printer/ut/CMakeLists.darwin.txt b/ydb/library/protobuf_printer/ut/CMakeLists.darwin.txt index 19d2326657..6fcf160c50 100644 --- a/ydb/library/protobuf_printer/ut/CMakeLists.darwin.txt +++ b/ydb/library/protobuf_printer/ut/CMakeLists.darwin.txt @@ -19,6 +19,14 @@ target_link_libraries(ydb-library-protobuf_printer-ut PUBLIC ydb-library-protobuf_printer contrib-libs-protobuf ) +target_link_options(ydb-library-protobuf_printer-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_proto_messages(ydb-library-protobuf_printer-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/protobuf_printer/ut/test_proto.proto ) @@ -37,15 +45,6 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-protobuf_printer-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) target_proto_addincls(ydb-library-protobuf_printer-ut ./ ${CMAKE_SOURCE_DIR}/ diff --git a/ydb/library/protobuf_printer/ut/CMakeLists.linux.txt b/ydb/library/protobuf_printer/ut/CMakeLists.linux.txt index b4fa1c695e..39da07c55a 100644 --- a/ydb/library/protobuf_printer/ut/CMakeLists.linux.txt +++ b/ydb/library/protobuf_printer/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-library-protobuf_printer-ut PUBLIC ydb-library-protobuf_printer contrib-libs-protobuf ) +target_link_options(ydb-library-protobuf_printer-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_proto_messages(ydb-library-protobuf_printer-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/protobuf_printer/ut/test_proto.proto ) @@ -38,17 +48,6 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-protobuf_printer-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) target_proto_addincls(ydb-library-protobuf_printer-ut ./ ${CMAKE_SOURCE_DIR}/ diff --git a/ydb/library/schlab/mon/test/CMakeLists.darwin.txt b/ydb/library/schlab/mon/test/CMakeLists.darwin.txt index 17d0d1ce49..d448d2c9b3 100644 --- a/ydb/library/schlab/mon/test/CMakeLists.darwin.txt +++ b/ydb/library/schlab/mon/test/CMakeLists.darwin.txt @@ -17,6 +17,12 @@ target_link_libraries(mon-test PUBLIC cpp-monlib-dynamic_counters library-schlab-mon ) +target_link_options(mon-test PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(mon-test PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/schlab/mon/test/test.cpp ${CMAKE_BINARY_DIR}/ydb/library/schlab/mon/test/58594e5c7af65697df8d9899a8761b06.cpp @@ -28,11 +34,4 @@ resources(mon-test KEYS schlab/schviz-test0.json ) -target_link_flags(mon-test - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(mon-test) diff --git a/ydb/library/schlab/mon/test/CMakeLists.linux.txt b/ydb/library/schlab/mon/test/CMakeLists.linux.txt index ee97309e2f..109638c3ce 100644 --- a/ydb/library/schlab/mon/test/CMakeLists.linux.txt +++ b/ydb/library/schlab/mon/test/CMakeLists.linux.txt @@ -18,6 +18,16 @@ target_link_libraries(mon-test PUBLIC cpp-monlib-dynamic_counters library-schlab-mon ) +target_link_options(mon-test PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(mon-test PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/schlab/mon/test/test.cpp ${CMAKE_BINARY_DIR}/ydb/library/schlab/mon/test/58594e5c7af65697df8d9899a8761b06.cpp @@ -29,15 +39,4 @@ resources(mon-test KEYS schlab/schviz-test0.json ) -target_link_flags(mon-test - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(mon-test) diff --git a/ydb/library/schlab/ut/CMakeLists.darwin.txt b/ydb/library/schlab/ut/CMakeLists.darwin.txt index 38c11cf13e..44fd4394e1 100644 --- a/ydb/library/schlab/ut/CMakeLists.darwin.txt +++ b/ydb/library/schlab/ut/CMakeLists.darwin.txt @@ -15,6 +15,12 @@ target_link_libraries(ydb-library-schlab-ut PUBLIC cpp-testing-unittest_main library-schlab-schoot ) +target_link_options(ydb-library-schlab-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-schlab-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/schlab/ut/schlab_ut.cpp ) @@ -29,11 +35,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-schlab-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-schlab-ut) diff --git a/ydb/library/schlab/ut/CMakeLists.linux.txt b/ydb/library/schlab/ut/CMakeLists.linux.txt index 36636c4592..ff3811bbf2 100644 --- a/ydb/library/schlab/ut/CMakeLists.linux.txt +++ b/ydb/library/schlab/ut/CMakeLists.linux.txt @@ -16,6 +16,16 @@ target_link_libraries(ydb-library-schlab-ut PUBLIC cpp-testing-unittest_main library-schlab-schoot ) +target_link_options(ydb-library-schlab-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-schlab-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/schlab/ut/schlab_ut.cpp ) @@ -30,15 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-schlab-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-schlab-ut) diff --git a/ydb/library/security/ut/CMakeLists.darwin.txt b/ydb/library/security/ut/CMakeLists.darwin.txt index 60ef06ddb3..de6f7008db 100644 --- a/ydb/library/security/ut/CMakeLists.darwin.txt +++ b/ydb/library/security/ut/CMakeLists.darwin.txt @@ -15,6 +15,14 @@ target_link_libraries(ydb-library-security-ut PUBLIC cpp-testing-unittest_main ydb-library-security ) +target_link_options(ydb-library-security-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-library-security-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/security/ut/util_ut.cpp ) @@ -29,13 +37,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-security-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-library-security-ut) diff --git a/ydb/library/security/ut/CMakeLists.linux.txt b/ydb/library/security/ut/CMakeLists.linux.txt index 1085e6a46f..4ecd7f78e7 100644 --- a/ydb/library/security/ut/CMakeLists.linux.txt +++ b/ydb/library/security/ut/CMakeLists.linux.txt @@ -16,6 +16,16 @@ target_link_libraries(ydb-library-security-ut PUBLIC cpp-testing-unittest_main ydb-library-security ) +target_link_options(ydb-library-security-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-security-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/security/ut/util_ut.cpp ) @@ -30,15 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-security-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-security-ut) diff --git a/ydb/library/yql/ast/ut/CMakeLists.darwin.txt b/ydb/library/yql/ast/ut/CMakeLists.darwin.txt index 4427602707..3b6ee629ae 100644 --- a/ydb/library/yql/ast/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/ast/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-yql-ast-ut PUBLIC cpp-testing-unittest_main library-yql-ast ) +target_link_options(ydb-library-yql-ast-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-ast-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/ast/yql_ast_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/ast/yql_expr_check_args_ut.cpp @@ -36,11 +42,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-ast-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-yql-ast-ut) diff --git a/ydb/library/yql/ast/ut/CMakeLists.linux.txt b/ydb/library/yql/ast/ut/CMakeLists.linux.txt index 7c26de5fec..d135262a17 100644 --- a/ydb/library/yql/ast/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/ast/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-yql-ast-ut PUBLIC cpp-testing-unittest_main library-yql-ast ) +target_link_options(ydb-library-yql-ast-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-ast-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/ast/yql_ast_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/ast/yql_expr_check_args_ut.cpp @@ -37,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-ast-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-ast-ut) diff --git a/ydb/library/yql/core/file_storage/ut/CMakeLists.darwin.txt b/ydb/library/yql/core/file_storage/ut/CMakeLists.darwin.txt index 2c627a36bd..7201f809aa 100644 --- a/ydb/library/yql/core/file_storage/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/core/file_storage/ut/CMakeLists.darwin.txt @@ -21,6 +21,12 @@ target_link_libraries(ydb-library-yql-core-file_storage-ut PUBLIC cpp-threading-future core-file_storage-http_download ) +target_link_options(ydb-library-yql-core-file_storage-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-core-file_storage-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage/file_storage_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage/sized_cache_ut.cpp @@ -38,11 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-core-file_storage-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-yql-core-file_storage-ut) diff --git a/ydb/library/yql/core/file_storage/ut/CMakeLists.linux.txt b/ydb/library/yql/core/file_storage/ut/CMakeLists.linux.txt index 122b8f6cc7..59ca686fc7 100644 --- a/ydb/library/yql/core/file_storage/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/core/file_storage/ut/CMakeLists.linux.txt @@ -22,6 +22,16 @@ target_link_libraries(ydb-library-yql-core-file_storage-ut PUBLIC cpp-threading-future core-file_storage-http_download ) +target_link_options(ydb-library-yql-core-file_storage-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-core-file_storage-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage/file_storage_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/file_storage/sized_cache_ut.cpp @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-core-file_storage-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-core-file_storage-ut) diff --git a/ydb/library/yql/core/issue/ut/CMakeLists.darwin.txt b/ydb/library/yql/core/issue/ut/CMakeLists.darwin.txt index 175d669606..96c3f09d16 100644 --- a/ydb/library/yql/core/issue/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/core/issue/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-yql-core-issue-ut PUBLIC cpp-testing-unittest_main yql-core-issue ) +target_link_options(ydb-library-yql-core-issue-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-core-issue-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/issue/yql_issue_ut.cpp ) @@ -32,11 +38,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-core-issue-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-yql-core-issue-ut) diff --git a/ydb/library/yql/core/issue/ut/CMakeLists.linux.txt b/ydb/library/yql/core/issue/ut/CMakeLists.linux.txt index dc2d161d4d..9dfc528d1b 100644 --- a/ydb/library/yql/core/issue/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/core/issue/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-yql-core-issue-ut PUBLIC cpp-testing-unittest_main yql-core-issue ) +target_link_options(ydb-library-yql-core-issue-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-core-issue-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/issue/yql_issue_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-core-issue-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-core-issue-ut) diff --git a/ydb/library/yql/dq/actors/compute/ut/CMakeLists.darwin.txt b/ydb/library/yql/dq/actors/compute/ut/CMakeLists.darwin.txt index 0a03668e78..dc02f80664 100644 --- a/ydb/library/yql/dq/actors/compute/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/dq/actors/compute/ut/CMakeLists.darwin.txt @@ -19,6 +19,14 @@ target_link_libraries(ydb-library-yql-dq-actors-compute-ut PUBLIC dq-actors-compute cpp-testing-unittest ) +target_link_options(ydb-library-yql-dq-actors-compute-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-library-yql-dq-actors-compute-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/actors/compute/ut/dq_compute_issues_buffer_ut.cpp ) @@ -33,15 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-dq-actors-compute-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-library-yql-dq-actors-compute-ut) diff --git a/ydb/library/yql/dq/actors/compute/ut/CMakeLists.linux.txt b/ydb/library/yql/dq/actors/compute/ut/CMakeLists.linux.txt index cf8116324a..694ebe8cdf 100644 --- a/ydb/library/yql/dq/actors/compute/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/dq/actors/compute/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-library-yql-dq-actors-compute-ut PUBLIC dq-actors-compute cpp-testing-unittest ) +target_link_options(ydb-library-yql-dq-actors-compute-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-dq-actors-compute-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/actors/compute/ut/dq_compute_issues_buffer_ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-dq-actors-compute-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-dq-actors-compute-ut) diff --git a/ydb/library/yql/dq/runtime/ut/CMakeLists.darwin.txt b/ydb/library/yql/dq/runtime/ut/CMakeLists.darwin.txt index 377f4332ac..e54faf3387 100644 --- a/ydb/library/yql/dq/runtime/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/dq/runtime/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-library-yql-dq-runtime-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-dq-runtime-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-library-yql-dq-runtime-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/runtime/dq_arrow_helpers_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/runtime/dq_output_channel_ut.cpp @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-dq-runtime-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-library-yql-dq-runtime-ut) diff --git a/ydb/library/yql/dq/runtime/ut/CMakeLists.linux.txt b/ydb/library/yql/dq/runtime/ut/CMakeLists.linux.txt index 01b33cb08f..4ec1e188ec 100644 --- a/ydb/library/yql/dq/runtime/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/dq/runtime/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-library-yql-dq-runtime-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-dq-runtime-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-dq-runtime-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/runtime/dq_arrow_helpers_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/runtime/dq_output_channel_ut.cpp @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-dq-runtime-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-dq-runtime-ut) diff --git a/ydb/library/yql/dq/state/ut/CMakeLists.darwin.txt b/ydb/library/yql/dq/state/ut/CMakeLists.darwin.txt index c43121b03d..ccbb5d2e31 100644 --- a/ydb/library/yql/dq/state/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/dq/state/ut/CMakeLists.darwin.txt @@ -21,6 +21,12 @@ target_link_libraries(ydb-library-yql-dq-state-ut PUBLIC cpp-testing-unittest_main yql-dq-state ) +target_link_options(ydb-library-yql-dq-state-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-dq-state-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/state/ut/dq_state_load_plan_ut.cpp ) @@ -35,11 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-dq-state-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-yql-dq-state-ut) diff --git a/ydb/library/yql/dq/state/ut/CMakeLists.linux.txt b/ydb/library/yql/dq/state/ut/CMakeLists.linux.txt index e327e3b27d..c5d6e78b33 100644 --- a/ydb/library/yql/dq/state/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/dq/state/ut/CMakeLists.linux.txt @@ -22,6 +22,16 @@ target_link_libraries(ydb-library-yql-dq-state-ut PUBLIC cpp-testing-unittest_main yql-dq-state ) +target_link_options(ydb-library-yql-dq-state-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-dq-state-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/dq/state/ut/dq_state_load_plan_ut.cpp ) @@ -36,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-dq-state-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-dq-state-ut) diff --git a/ydb/library/yql/minikql/ut/CMakeLists.darwin.txt b/ydb/library/yql/minikql/ut/CMakeLists.darwin.txt index b75592844a..3173c1e779 100644 --- a/ydb/library/yql/minikql/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/minikql/ut/CMakeLists.darwin.txt @@ -25,6 +25,12 @@ target_link_libraries(ydb-library-yql-minikql-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-minikql-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-minikql-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/compact_hash_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/mkql_alloc_ut.cpp @@ -50,13 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-minikql-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-library-yql-minikql-ut) diff --git a/ydb/library/yql/minikql/ut/CMakeLists.linux.txt b/ydb/library/yql/minikql/ut/CMakeLists.linux.txt index bd1d61c09f..ab94ec10f3 100644 --- a/ydb/library/yql/minikql/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/minikql/ut/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-library-yql-minikql-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-minikql-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-minikql-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/compact_hash_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/minikql/mkql_alloc_ut.cpp @@ -51,15 +61,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-minikql-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-minikql-ut) diff --git a/ydb/library/yql/parser/pg_catalog/ut/CMakeLists.darwin.txt b/ydb/library/yql/parser/pg_catalog/ut/CMakeLists.darwin.txt index f2896d0123..154a0af33f 100644 --- a/ydb/library/yql/parser/pg_catalog/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/parser/pg_catalog/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-yql-parser-pg_catalog-ut PUBLIC cpp-testing-unittest_main yql-parser-pg_catalog ) +target_link_options(ydb-library-yql-parser-pg_catalog-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-parser-pg_catalog-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/parser/pg_catalog/ut/catalog_ut.cpp ) @@ -32,11 +38,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-parser-pg_catalog-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-yql-parser-pg_catalog-ut) diff --git a/ydb/library/yql/parser/pg_catalog/ut/CMakeLists.linux.txt b/ydb/library/yql/parser/pg_catalog/ut/CMakeLists.linux.txt index c134ee6e3a..c8048f4846 100644 --- a/ydb/library/yql/parser/pg_catalog/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/parser/pg_catalog/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-yql-parser-pg_catalog-ut PUBLIC cpp-testing-unittest_main yql-parser-pg_catalog ) +target_link_options(ydb-library-yql-parser-pg_catalog-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-parser-pg_catalog-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/parser/pg_catalog/ut/catalog_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-parser-pg_catalog-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-parser-pg_catalog-ut) diff --git a/ydb/library/yql/providers/common/codec/ut/CMakeLists.darwin.txt b/ydb/library/yql/providers/common/codec/ut/CMakeLists.darwin.txt index 16f9c0d1aa..24e4270adf 100644 --- a/ydb/library/yql/providers/common/codec/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/providers/common/codec/ut/CMakeLists.darwin.txt @@ -24,6 +24,12 @@ target_link_libraries(ydb-library-yql-providers-common-codec-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-providers-common-codec-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-providers-common-codec-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/common/codec/yql_json_codec_ut.cpp ) @@ -38,13 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-providers-common-codec-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-library-yql-providers-common-codec-ut) diff --git a/ydb/library/yql/providers/common/codec/ut/CMakeLists.linux.txt b/ydb/library/yql/providers/common/codec/ut/CMakeLists.linux.txt index 097959dca6..047dd324b8 100644 --- a/ydb/library/yql/providers/common/codec/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/providers/common/codec/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-library-yql-providers-common-codec-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-providers-common-codec-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-providers-common-codec-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/common/codec/yql_json_codec_ut.cpp ) @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-providers-common-codec-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-providers-common-codec-ut) diff --git a/ydb/library/yql/providers/common/structured_token/ut/CMakeLists.darwin.txt b/ydb/library/yql/providers/common/structured_token/ut/CMakeLists.darwin.txt index d6500b24fc..d3a8f537db 100644 --- a/ydb/library/yql/providers/common/structured_token/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/providers/common/structured_token/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(yql-providers-common-structured_token-ut PUBLIC cpp-testing-unittest_main providers-common-structured_token ) +target_link_options(yql-providers-common-structured_token-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(yql-providers-common-structured_token-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/common/structured_token/ut/yql_structured_token_ut.cpp ) @@ -32,11 +38,4 @@ add_test( --print-times --show-fails ) -target_link_flags(yql-providers-common-structured_token-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(yql-providers-common-structured_token-ut) diff --git a/ydb/library/yql/providers/common/structured_token/ut/CMakeLists.linux.txt b/ydb/library/yql/providers/common/structured_token/ut/CMakeLists.linux.txt index f6188af1b5..61170dd337 100644 --- a/ydb/library/yql/providers/common/structured_token/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/providers/common/structured_token/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(yql-providers-common-structured_token-ut PUBLIC cpp-testing-unittest_main providers-common-structured_token ) +target_link_options(yql-providers-common-structured_token-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(yql-providers-common-structured_token-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/common/structured_token/ut/yql_structured_token_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(yql-providers-common-structured_token-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(yql-providers-common-structured_token-ut) diff --git a/ydb/library/yql/providers/external_function/cloud_function/actors/ut/CMakeLists.darwin.txt b/ydb/library/yql/providers/external_function/cloud_function/actors/ut/CMakeLists.darwin.txt index 0857909298..bdd8fdcfa1 100644 --- a/ydb/library/yql/providers/external_function/cloud_function/actors/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/providers/external_function/cloud_function/actors/ut/CMakeLists.darwin.txt @@ -27,6 +27,14 @@ target_link_libraries(cloud_function-actors-ut PUBLIC providers-common-http_gateway common-http_gateway-mock ) +target_link_options(cloud_function-actors-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(cloud_function-actors-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/external_function/cloud_function/actors/cloud_function_transform_ut.cpp ) @@ -41,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(cloud_function-actors-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(cloud_function-actors-ut) diff --git a/ydb/library/yql/providers/external_function/cloud_function/actors/ut/CMakeLists.linux.txt b/ydb/library/yql/providers/external_function/cloud_function/actors/ut/CMakeLists.linux.txt index 4c82b690ad..e96a3318fb 100644 --- a/ydb/library/yql/providers/external_function/cloud_function/actors/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/providers/external_function/cloud_function/actors/ut/CMakeLists.linux.txt @@ -28,6 +28,16 @@ target_link_libraries(cloud_function-actors-ut PUBLIC providers-common-http_gateway common-http_gateway-mock ) +target_link_options(cloud_function-actors-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(cloud_function-actors-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/external_function/cloud_function/actors/cloud_function_transform_ut.cpp ) @@ -42,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(cloud_function-actors-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(cloud_function-actors-ut) diff --git a/ydb/library/yql/public/decimal/ut/CMakeLists.darwin.txt b/ydb/library/yql/public/decimal/ut/CMakeLists.darwin.txt index 61d5909035..23c7752795 100644 --- a/ydb/library/yql/public/decimal/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/public/decimal/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-yql-public-decimal-ut PUBLIC cpp-testing-unittest_main yql-public-decimal ) +target_link_options(ydb-library-yql-public-decimal-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-public-decimal-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/decimal/ut/yql_decimal_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/decimal/ut/yql_wide_int_ut.cpp @@ -33,11 +39,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-public-decimal-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-yql-public-decimal-ut) diff --git a/ydb/library/yql/public/decimal/ut/CMakeLists.linux.txt b/ydb/library/yql/public/decimal/ut/CMakeLists.linux.txt index 2b6c3f9fea..3003ea6be0 100644 --- a/ydb/library/yql/public/decimal/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/public/decimal/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-yql-public-decimal-ut PUBLIC cpp-testing-unittest_main yql-public-decimal ) +target_link_options(ydb-library-yql-public-decimal-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-public-decimal-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/decimal/ut/yql_decimal_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/decimal/ut/yql_wide_int_ut.cpp @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-public-decimal-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-public-decimal-ut) diff --git a/ydb/library/yql/public/issue/ut/CMakeLists.darwin.txt b/ydb/library/yql/public/issue/ut/CMakeLists.darwin.txt index d1c757a609..3412ddc059 100644 --- a/ydb/library/yql/public/issue/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/public/issue/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-yql-public-issue-ut PUBLIC cpp-testing-unittest_main yql-public-issue ) +target_link_options(ydb-library-yql-public-issue-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-public-issue-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/issue/yql_issue_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/issue/yql_issue_manager_ut.cpp @@ -35,11 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-public-issue-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-yql-public-issue-ut) diff --git a/ydb/library/yql/public/issue/ut/CMakeLists.linux.txt b/ydb/library/yql/public/issue/ut/CMakeLists.linux.txt index 9e2c7aa565..3248569a48 100644 --- a/ydb/library/yql/public/issue/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/public/issue/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-yql-public-issue-ut PUBLIC cpp-testing-unittest_main yql-public-issue ) +target_link_options(ydb-library-yql-public-issue-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-public-issue-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/issue/yql_issue_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/issue/yql_issue_manager_ut.cpp @@ -36,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-public-issue-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-public-issue-ut) diff --git a/ydb/library/yql/public/udf/ut/CMakeLists.darwin.txt b/ydb/library/yql/public/udf/ut/CMakeLists.darwin.txt index 7b9ad9f1f1..4b5a54957f 100644 --- a/ydb/library/yql/public/udf/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/public/udf/ut/CMakeLists.darwin.txt @@ -23,6 +23,12 @@ target_link_libraries(ydb-library-yql-public-udf-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-public-udf-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-public-udf-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/udf/udf_counter_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/udf/udf_value_ut.cpp @@ -39,13 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-public-udf-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-library-yql-public-udf-ut) diff --git a/ydb/library/yql/public/udf/ut/CMakeLists.linux.txt b/ydb/library/yql/public/udf/ut/CMakeLists.linux.txt index 51a6d1255c..414a7e3dca 100644 --- a/ydb/library/yql/public/udf/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/public/udf/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-library-yql-public-udf-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-public-udf-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-public-udf-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/udf/udf_counter_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/public/udf/udf_value_ut.cpp @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-public-udf-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-public-udf-ut) diff --git a/ydb/library/yql/udfs/common/stat/ut/CMakeLists.darwin.txt b/ydb/library/yql/udfs/common/stat/ut/CMakeLists.darwin.txt index d3dc7d479f..77c1475a0c 100644 --- a/ydb/library/yql/udfs/common/stat/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/udfs/common/stat/ut/CMakeLists.darwin.txt @@ -26,6 +26,12 @@ target_link_libraries(ydb-library-yql-udfs-common-stat-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-udfs-common-stat-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-udfs-common-stat-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/common/stat/stat_udf_ut.cpp ) @@ -40,13 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-udfs-common-stat-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-library-yql-udfs-common-stat-ut) diff --git a/ydb/library/yql/udfs/common/stat/ut/CMakeLists.linux.txt b/ydb/library/yql/udfs/common/stat/ut/CMakeLists.linux.txt index b374e060d9..a041d33616 100644 --- a/ydb/library/yql/udfs/common/stat/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/udfs/common/stat/ut/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-library-yql-udfs-common-stat-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-udfs-common-stat-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-udfs-common-stat-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/common/stat/stat_udf_ut.cpp ) @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-udfs-common-stat-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-udfs-common-stat-ut) diff --git a/ydb/library/yql/udfs/common/topfreq/ut/CMakeLists.darwin.txt b/ydb/library/yql/udfs/common/topfreq/ut/CMakeLists.darwin.txt index 59c6f37bbf..abf9e714d8 100644 --- a/ydb/library/yql/udfs/common/topfreq/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/udfs/common/topfreq/ut/CMakeLists.darwin.txt @@ -26,6 +26,12 @@ target_link_libraries(ydb-library-yql-udfs-common-topfreq-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-udfs-common-topfreq-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-udfs-common-topfreq-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/common/topfreq/topfreq_udf_ut.cpp ) @@ -40,13 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-udfs-common-topfreq-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-library-yql-udfs-common-topfreq-ut) diff --git a/ydb/library/yql/udfs/common/topfreq/ut/CMakeLists.linux.txt b/ydb/library/yql/udfs/common/topfreq/ut/CMakeLists.linux.txt index 31ade19919..4280260819 100644 --- a/ydb/library/yql/udfs/common/topfreq/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/udfs/common/topfreq/ut/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-library-yql-udfs-common-topfreq-ut PUBLIC udf-service-exception_policy yql-sql-pg_dummy ) +target_link_options(ydb-library-yql-udfs-common-topfreq-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-udfs-common-topfreq-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/udfs/common/topfreq/topfreq_udf_ut.cpp ) @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-udfs-common-topfreq-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-udfs-common-topfreq-ut) diff --git a/ydb/library/yql/utils/failure_injector/ut/CMakeLists.darwin.txt b/ydb/library/yql/utils/failure_injector/ut/CMakeLists.darwin.txt index 66b3813ffb..6164392223 100644 --- a/ydb/library/yql/utils/failure_injector/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/utils/failure_injector/ut/CMakeLists.darwin.txt @@ -19,6 +19,12 @@ target_link_libraries(ydb-library-yql-utils-failure_injector-ut PUBLIC yql-utils-failure_injector yql-utils-log ) +target_link_options(ydb-library-yql-utils-failure_injector-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-utils-failure_injector-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/failure_injector/failure_injector_ut.cpp ) @@ -33,11 +39,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-utils-failure_injector-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-yql-utils-failure_injector-ut) diff --git a/ydb/library/yql/utils/failure_injector/ut/CMakeLists.linux.txt b/ydb/library/yql/utils/failure_injector/ut/CMakeLists.linux.txt index 0e071c0c75..fad19e9c24 100644 --- a/ydb/library/yql/utils/failure_injector/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/utils/failure_injector/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-library-yql-utils-failure_injector-ut PUBLIC yql-utils-failure_injector yql-utils-log ) +target_link_options(ydb-library-yql-utils-failure_injector-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-utils-failure_injector-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/failure_injector/failure_injector_ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-utils-failure_injector-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-utils-failure_injector-ut) diff --git a/ydb/library/yql/utils/log/ut/CMakeLists.darwin.txt b/ydb/library/yql/utils/log/ut/CMakeLists.darwin.txt index ac33d3dcdc..acd1b6dfc2 100644 --- a/ydb/library/yql/utils/log/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/utils/log/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-yql-utils-log-ut PUBLIC cpp-testing-unittest_main yql-utils-log ) +target_link_options(ydb-library-yql-utils-log-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-utils-log-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/log/log_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/log/tls_backend_ut.cpp @@ -33,11 +39,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-utils-log-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-yql-utils-log-ut) diff --git a/ydb/library/yql/utils/log/ut/CMakeLists.linux.txt b/ydb/library/yql/utils/log/ut/CMakeLists.linux.txt index f61d21687d..f0f843fc3a 100644 --- a/ydb/library/yql/utils/log/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/utils/log/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-yql-utils-log-ut PUBLIC cpp-testing-unittest_main yql-utils-log ) +target_link_options(ydb-library-yql-utils-log-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-utils-log-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/log/log_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/log/tls_backend_ut.cpp @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-utils-log-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-utils-log-ut) diff --git a/ydb/library/yql/utils/ut/CMakeLists.darwin.txt b/ydb/library/yql/utils/ut/CMakeLists.darwin.txt index 45a13e8548..603db14872 100644 --- a/ydb/library/yql/utils/ut/CMakeLists.darwin.txt +++ b/ydb/library/yql/utils/ut/CMakeLists.darwin.txt @@ -18,6 +18,12 @@ target_link_libraries(ydb-library-yql-utils-ut PUBLIC cpp-testing-unittest_main library-yql-utils ) +target_link_options(ydb-library-yql-utils-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-library-yql-utils-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/fp_bits_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/md5_stream_ut.cpp @@ -39,11 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-utils-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-library-yql-utils-ut) diff --git a/ydb/library/yql/utils/ut/CMakeLists.linux.txt b/ydb/library/yql/utils/ut/CMakeLists.linux.txt index eb43df0fd1..191e9b06db 100644 --- a/ydb/library/yql/utils/ut/CMakeLists.linux.txt +++ b/ydb/library/yql/utils/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-library-yql-utils-ut PUBLIC cpp-testing-unittest_main library-yql-utils ) +target_link_options(ydb-library-yql-utils-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-library-yql-utils-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/fp_bits_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/library/yql/utils/md5_stream_ut.cpp @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-library-yql-utils-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-library-yql-utils-ut) diff --git a/ydb/public/lib/deprecated/kicli/ut/CMakeLists.darwin.txt b/ydb/public/lib/deprecated/kicli/ut/CMakeLists.darwin.txt index db367b284f..e3e23b74f8 100644 --- a/ydb/public/lib/deprecated/kicli/ut/CMakeLists.darwin.txt +++ b/ydb/public/lib/deprecated/kicli/ut/CMakeLists.darwin.txt @@ -23,6 +23,14 @@ target_link_libraries(ydb-public-lib-deprecated-kicli-ut PUBLIC ydb-core-client ydb-core-testlib ) +target_link_options(ydb-public-lib-deprecated-kicli-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-lib-deprecated-kicli-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/deprecated/kicli/cpp_ut.cpp ) @@ -37,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-deprecated-kicli-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-public-lib-deprecated-kicli-ut) diff --git a/ydb/public/lib/deprecated/kicli/ut/CMakeLists.linux.txt b/ydb/public/lib/deprecated/kicli/ut/CMakeLists.linux.txt index d0d0dee9f9..7e8d3f2efa 100644 --- a/ydb/public/lib/deprecated/kicli/ut/CMakeLists.linux.txt +++ b/ydb/public/lib/deprecated/kicli/ut/CMakeLists.linux.txt @@ -24,6 +24,16 @@ target_link_libraries(ydb-public-lib-deprecated-kicli-ut PUBLIC ydb-core-client ydb-core-testlib ) +target_link_options(ydb-public-lib-deprecated-kicli-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-lib-deprecated-kicli-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/deprecated/kicli/cpp_ut.cpp ) @@ -38,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-deprecated-kicli-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-lib-deprecated-kicli-ut) diff --git a/ydb/public/lib/idx_test/ut/CMakeLists.darwin.txt b/ydb/public/lib/idx_test/ut/CMakeLists.darwin.txt index cd4e5b10fe..b2a05177f1 100644 --- a/ydb/public/lib/idx_test/ut/CMakeLists.darwin.txt +++ b/ydb/public/lib/idx_test/ut/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ydb-public-lib-idx_test-ut PUBLIC cpp-testing-unittest_main public-lib-idx_test ) +target_link_options(ydb-public-lib-idx_test-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-lib-idx_test-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/idx_test/ut/idx_test_data_provider_ut.cpp ) @@ -32,13 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-idx_test-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-public-lib-idx_test-ut) diff --git a/ydb/public/lib/idx_test/ut/CMakeLists.linux.txt b/ydb/public/lib/idx_test/ut/CMakeLists.linux.txt index 3a2e067e25..dd0a865e2c 100644 --- a/ydb/public/lib/idx_test/ut/CMakeLists.linux.txt +++ b/ydb/public/lib/idx_test/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-public-lib-idx_test-ut PUBLIC cpp-testing-unittest_main public-lib-idx_test ) +target_link_options(ydb-public-lib-idx_test-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-lib-idx_test-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/idx_test/ut/idx_test_data_provider_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-idx_test-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-lib-idx_test-ut) diff --git a/ydb/public/lib/json_value/ut/CMakeLists.darwin.txt b/ydb/public/lib/json_value/ut/CMakeLists.darwin.txt index 1cf607831f..2f84b7d94c 100644 --- a/ydb/public/lib/json_value/ut/CMakeLists.darwin.txt +++ b/ydb/public/lib/json_value/ut/CMakeLists.darwin.txt @@ -21,6 +21,14 @@ target_link_libraries(ydb-public-lib-json_value-ut PUBLIC cpp-testing-unittest cpp-client-ydb_proto ) +target_link_options(ydb-public-lib-json_value-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-lib-json_value-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/json_value/ydb_json_value_ut.cpp ) @@ -35,13 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-json_value-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-public-lib-json_value-ut) diff --git a/ydb/public/lib/json_value/ut/CMakeLists.linux.txt b/ydb/public/lib/json_value/ut/CMakeLists.linux.txt index 9a1a2b8d72..7ca6f3799e 100644 --- a/ydb/public/lib/json_value/ut/CMakeLists.linux.txt +++ b/ydb/public/lib/json_value/ut/CMakeLists.linux.txt @@ -22,6 +22,16 @@ target_link_libraries(ydb-public-lib-json_value-ut PUBLIC cpp-testing-unittest cpp-client-ydb_proto ) +target_link_options(ydb-public-lib-json_value-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-lib-json_value-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/json_value/ydb_json_value_ut.cpp ) @@ -36,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-json_value-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-lib-json_value-ut) diff --git a/ydb/public/lib/operation_id/ut/CMakeLists.darwin.txt b/ydb/public/lib/operation_id/ut/CMakeLists.darwin.txt index d0435e0510..cc4bd33d8f 100644 --- a/ydb/public/lib/operation_id/ut/CMakeLists.darwin.txt +++ b/ydb/public/lib/operation_id/ut/CMakeLists.darwin.txt @@ -19,6 +19,12 @@ target_link_libraries(ydb-public-lib-operation_id-ut PUBLIC public-lib-operation_id cpp-testing-unittest ) +target_link_options(ydb-public-lib-operation_id-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-public-lib-operation_id-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/operation_id/operation_id_ut.cpp ) @@ -33,11 +39,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-operation_id-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-public-lib-operation_id-ut) diff --git a/ydb/public/lib/operation_id/ut/CMakeLists.linux.txt b/ydb/public/lib/operation_id/ut/CMakeLists.linux.txt index 4f491c55ad..649b8a2241 100644 --- a/ydb/public/lib/operation_id/ut/CMakeLists.linux.txt +++ b/ydb/public/lib/operation_id/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-public-lib-operation_id-ut PUBLIC public-lib-operation_id cpp-testing-unittest ) +target_link_options(ydb-public-lib-operation_id-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-lib-operation_id-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/operation_id/operation_id_ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-operation_id-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-lib-operation_id-ut) diff --git a/ydb/public/lib/validation/CMakeLists.darwin.txt b/ydb/public/lib/validation/CMakeLists.darwin.txt index dee562c94c..09ea99424f 100644 --- a/ydb/public/lib/validation/CMakeLists.darwin.txt +++ b/ydb/public/lib/validation/CMakeLists.darwin.txt @@ -15,15 +15,14 @@ target_link_libraries(validation PUBLIC contrib-libs-protoc api-protos-annotations ) -target_sources(validation PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/public/lib/validation/helpers.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/lib/validation/main.cpp -) -target_link_flags(validation - PUBLIC +target_link_options(validation PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC -fPIC ) +target_sources(validation PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/validation/helpers.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/lib/validation/main.cpp +) vcs_info(validation) diff --git a/ydb/public/lib/validation/CMakeLists.linux.txt b/ydb/public/lib/validation/CMakeLists.linux.txt index 2fe1e25a37..d59f72ecf5 100644 --- a/ydb/public/lib/validation/CMakeLists.linux.txt +++ b/ydb/public/lib/validation/CMakeLists.linux.txt @@ -16,12 +16,7 @@ target_link_libraries(validation PUBLIC contrib-libs-protoc api-protos-annotations ) -target_sources(validation PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/public/lib/validation/helpers.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/lib/validation/main.cpp -) -target_link_flags(validation - PUBLIC +target_link_options(validation PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -31,4 +26,8 @@ target_link_flags(validation -lrt -ldl ) +target_sources(validation PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/lib/validation/helpers.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/lib/validation/main.cpp +) vcs_info(validation) diff --git a/ydb/public/lib/validation/ut/CMakeLists.darwin.txt b/ydb/public/lib/validation/ut/CMakeLists.darwin.txt index 301f0b6b44..4d4ec127e1 100644 --- a/ydb/public/lib/validation/ut/CMakeLists.darwin.txt +++ b/ydb/public/lib/validation/ut/CMakeLists.darwin.txt @@ -19,6 +19,12 @@ target_link_libraries(ydb-public-lib-validation-ut PUBLIC cpp-testing-unittest validation-ut-protos ) +target_link_options(ydb-public-lib-validation-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) target_sources(ydb-public-lib-validation-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/validation/ut.cpp ) @@ -33,11 +39,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-validation-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC -) vcs_info(ydb-public-lib-validation-ut) diff --git a/ydb/public/lib/validation/ut/CMakeLists.linux.txt b/ydb/public/lib/validation/ut/CMakeLists.linux.txt index 1d7da7e31d..2fc223d436 100644 --- a/ydb/public/lib/validation/ut/CMakeLists.linux.txt +++ b/ydb/public/lib/validation/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-public-lib-validation-ut PUBLIC cpp-testing-unittest validation-ut-protos ) +target_link_options(ydb-public-lib-validation-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-lib-validation-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/validation/ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-validation-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-lib-validation-ut) diff --git a/ydb/public/lib/ydb_cli/common/ut/CMakeLists.darwin.txt b/ydb/public/lib/ydb_cli/common/ut/CMakeLists.darwin.txt index 18b73790a5..30036ff7e4 100644 --- a/ydb/public/lib/ydb_cli/common/ut/CMakeLists.darwin.txt +++ b/ydb/public/lib/ydb_cli/common/ut/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ydb-public-lib-ydb_cli-common-ut PUBLIC cpp-testing-unittest_main common ) +target_link_options(ydb-public-lib-ydb_cli-common-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-lib-ydb_cli-common-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/ydb_cli/common/normalize_path_ut.cpp ) @@ -32,13 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-ydb_cli-common-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-public-lib-ydb_cli-common-ut) diff --git a/ydb/public/lib/ydb_cli/common/ut/CMakeLists.linux.txt b/ydb/public/lib/ydb_cli/common/ut/CMakeLists.linux.txt index 417fa991f6..13ac987c91 100644 --- a/ydb/public/lib/ydb_cli/common/ut/CMakeLists.linux.txt +++ b/ydb/public/lib/ydb_cli/common/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-public-lib-ydb_cli-common-ut PUBLIC cpp-testing-unittest_main common ) +target_link_options(ydb-public-lib-ydb_cli-common-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-lib-ydb_cli-common-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/lib/ydb_cli/common/normalize_path_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-lib-ydb_cli-common-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-lib-ydb_cli-common-ut) diff --git a/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.darwin.txt index 35f23e3d06..11a7b8af18 100644 --- a/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ydb-public-sdk-cpp-client-draft-ut PUBLIC cpp-testing-unittest_main cpp-client-draft ) +target_link_options(ydb-public-sdk-cpp-client-draft-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-sdk-cpp-client-draft-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/draft/ydb_scripting_response_headers_ut.cpp ) @@ -32,13 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-draft-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-public-sdk-cpp-client-draft-ut) diff --git a/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.linux.txt b/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.linux.txt index 5125152b11..16b48b7d5e 100644 --- a/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/client/draft/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-public-sdk-cpp-client-draft-ut PUBLIC cpp-testing-unittest_main cpp-client-draft ) +target_link_options(ydb-public-sdk-cpp-client-draft-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-sdk-cpp-client-draft-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/draft/ydb_scripting_response_headers_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-draft-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-sdk-cpp-client-draft-ut) diff --git a/ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut/CMakeLists.darwin.txt index 9a2ae04a14..a749fc852e 100644 --- a/ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut/CMakeLists.darwin.txt @@ -19,6 +19,14 @@ target_link_libraries(client-extensions-discovery_mutator-ut PUBLIC client-extensions-discovery_mutator cpp-client-ydb_table ) +target_link_options(client-extensions-discovery_mutator-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(client-extensions-discovery_mutator-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/extensions/discovery_mutator/discovery_mutator_ut.cpp ) @@ -33,13 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(client-extensions-discovery_mutator-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(client-extensions-discovery_mutator-ut) diff --git a/ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut/CMakeLists.linux.txt b/ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut/CMakeLists.linux.txt index 1bf6170f35..7bf2acd2be 100644 --- a/ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/client/extensions/discovery_mutator/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(client-extensions-discovery_mutator-ut PUBLIC client-extensions-discovery_mutator cpp-client-ydb_table ) +target_link_options(client-extensions-discovery_mutator-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(client-extensions-discovery_mutator-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/extensions/discovery_mutator/discovery_mutator_ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(client-extensions-discovery_mutator-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(client-extensions-discovery_mutator-ut) diff --git a/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.darwin.txt index cb7f2f4558..9187f5e2f6 100644 --- a/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut PUBLIC cpp-testing-unittest_main client-impl-ydb_endpoints ) +target_link_options(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/impl/ydb_endpoints/endpoints_ut.cpp ) @@ -32,13 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut) diff --git a/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.linux.txt b/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.linux.txt index 726a496b2b..b9fc1ccc23 100644 --- a/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/client/impl/ydb_endpoints/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut PUBLIC cpp-testing-unittest_main client-impl-ydb_endpoints ) +target_link_options(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/impl/ydb_endpoints/endpoints_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-sdk-cpp-client-impl-ydb_endpoints-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.darwin.txt index 083c5b0214..c7d9242693 100644 --- a/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.darwin.txt @@ -19,6 +19,14 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_coordination-ut PUBLIC cpp-client-ydb_coordination api-grpc ) +target_link_options(ydb-public-sdk-cpp-client-ydb_coordination-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-sdk-cpp-client-ydb_coordination-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_coordination/coordination_ut.cpp ) @@ -33,13 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_coordination-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-public-sdk-cpp-client-ydb_coordination-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.linux.txt b/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.linux.txt index 24893addee..832ef6b2bc 100644 --- a/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/client/ydb_coordination/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_coordination-ut PUBLIC cpp-client-ydb_coordination api-grpc ) +target_link_options(ydb-public-sdk-cpp-client-ydb_coordination-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-sdk-cpp-client-ydb_coordination-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_coordination/coordination_ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_coordination-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-sdk-cpp-client-ydb_coordination-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.darwin.txt index faef03a1e1..5c22809ac7 100644 --- a/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.darwin.txt @@ -19,6 +19,14 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_driver-ut PUBLIC cpp-client-ydb_driver cpp-client-ydb_table ) +target_link_options(ydb-public-sdk-cpp-client-ydb_driver-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-sdk-cpp-client-ydb_driver-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_driver/driver_ut.cpp ) @@ -33,13 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_driver-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-public-sdk-cpp-client-ydb_driver-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.linux.txt b/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.linux.txt index 9eb48f5346..f2b7d90752 100644 --- a/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/client/ydb_driver/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_driver-ut PUBLIC cpp-client-ydb_driver cpp-client-ydb_table ) +target_link_options(ydb-public-sdk-cpp-client-ydb_driver-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-sdk-cpp-client-ydb_driver-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_driver/driver_ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_driver-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-sdk-cpp-client-ydb_driver-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.darwin.txt index 127f5ca18f..69974649ae 100644 --- a/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.darwin.txt @@ -19,6 +19,14 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_params-ut PUBLIC cpp-client-ydb_params public-lib-yson_value ) +target_link_options(ydb-public-sdk-cpp-client-ydb_params-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-sdk-cpp-client-ydb_params-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_params/params_ut.cpp ) @@ -33,13 +41,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_params-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-public-sdk-cpp-client-ydb_params-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.linux.txt b/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.linux.txt index 861504f40b..a6d0729563 100644 --- a/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/client/ydb_params/ut/CMakeLists.linux.txt @@ -20,6 +20,16 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_params-ut PUBLIC cpp-client-ydb_params public-lib-yson_value ) +target_link_options(ydb-public-sdk-cpp-client-ydb_params-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-sdk-cpp-client-ydb_params-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_params/params_ut.cpp ) @@ -34,15 +44,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_params-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-sdk-cpp-client-ydb_params-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.darwin.txt index 8c3948b204..3c4c7b5d3a 100644 --- a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut PUBLIC ydb_persqueue_core-ut-ut_utils client-ydb_persqueue_public-codecs ) +target_link_options(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/common_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/read_session_ut.cpp @@ -49,15 +57,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.linux.txt b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.linux.txt index 6f11849e56..c7bef70788 100644 --- a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut PUBLIC ydb_persqueue_core-ut-ut_utils client-ydb_persqueue_public-codecs ) +target_link_options(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/common_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/read_session_ut.cpp @@ -50,15 +60,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-sdk-cpp-client-ydb_persqueue_core-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.darwin.txt index 6134793d06..133670b9ec 100644 --- a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.darwin.txt @@ -22,6 +22,14 @@ target_link_libraries(with_offset_ranges_mode_ut PUBLIC cpp-client-ydb_driver ydb_persqueue_core-ut-ut_utils ) +target_link_options(with_offset_ranges_mode_ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(with_offset_ranges_mode_ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/common_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/read_session_ut.cpp @@ -41,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(with_offset_ranges_mode_ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(with_offset_ranges_mode_ut) diff --git a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.linux.txt b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.linux.txt index c0ca5df52a..7d24762c47 100644 --- a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/with_offset_ranges_mode_ut/CMakeLists.linux.txt @@ -23,6 +23,16 @@ target_link_libraries(with_offset_ranges_mode_ut PUBLIC cpp-client-ydb_driver ydb_persqueue_core-ut-ut_utils ) +target_link_options(with_offset_ranges_mode_ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(with_offset_ranges_mode_ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/common_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/read_session_ut.cpp @@ -42,15 +52,4 @@ add_test( --print-times --show-fails ) -target_link_flags(with_offset_ranges_mode_ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(with_offset_ranges_mode_ut) diff --git a/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.darwin.txt index f06f538ff3..06077f7260 100644 --- a/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.darwin.txt @@ -18,6 +18,14 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_result-ut PUBLIC cpp-testing-unittest_main cpp-client-ydb_result ) +target_link_options(ydb-public-sdk-cpp-client-ydb_result-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-sdk-cpp-client-ydb_result-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_result/result_ut.cpp ) @@ -32,13 +40,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_result-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-public-sdk-cpp-client-ydb_result-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.linux.txt b/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.linux.txt index 71b8bf5dd5..74b253700d 100644 --- a/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/client/ydb_result/ut/CMakeLists.linux.txt @@ -19,6 +19,16 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_result-ut PUBLIC cpp-testing-unittest_main cpp-client-ydb_result ) +target_link_options(ydb-public-sdk-cpp-client-ydb_result-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-sdk-cpp-client-ydb_result-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_result/result_ut.cpp ) @@ -33,15 +43,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_result-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-sdk-cpp-client-ydb_result-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.darwin.txt index 1970179f5d..f26a08e1f0 100644 --- a/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.darwin.txt @@ -20,6 +20,14 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_value-ut PUBLIC public-lib-json_value public-lib-yson_value ) +target_link_options(ydb-public-sdk-cpp-client-ydb_value-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-public-sdk-cpp-client-ydb_value-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_value/value_ut.cpp ) @@ -34,13 +42,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_value-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(ydb-public-sdk-cpp-client-ydb_value-ut) diff --git a/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.linux.txt b/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.linux.txt index 35e788be1a..ec810e9a4e 100644 --- a/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/client/ydb_value/ut/CMakeLists.linux.txt @@ -21,6 +21,16 @@ target_link_libraries(ydb-public-sdk-cpp-client-ydb_value-ut PUBLIC public-lib-json_value public-lib-yson_value ) +target_link_options(ydb-public-sdk-cpp-client-ydb_value-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-public-sdk-cpp-client-ydb_value-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/client/ydb_value/value_ut.cpp ) @@ -35,15 +45,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-public-sdk-cpp-client-ydb_value-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-public-sdk-cpp-client-ydb_value-ut) diff --git a/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.darwin.txt index 36430f1e35..8f82dd03d2 100644 --- a/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.darwin.txt @@ -15,13 +15,7 @@ target_link_libraries(basic_example PUBLIC library-cpp-getopt cpp-client-ydb_table ) -target_sources(basic_example PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/main.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/basic_example_data.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/basic_example.cpp -) -target_link_flags(basic_example - PUBLIC +target_link_options(basic_example PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC @@ -29,4 +23,9 @@ target_link_flags(basic_example -framework CoreFoundation ) +target_sources(basic_example PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/basic_example_data.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/basic_example.cpp +) vcs_info(basic_example) diff --git a/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.linux.txt b/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.linux.txt index 7aed64227e..a73a2f51dc 100644 --- a/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/examples/basic_example/CMakeLists.linux.txt @@ -16,13 +16,7 @@ target_link_libraries(basic_example PUBLIC library-cpp-getopt cpp-client-ydb_table ) -target_sources(basic_example PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/main.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/basic_example_data.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/basic_example.cpp -) -target_link_flags(basic_example - PUBLIC +target_link_options(basic_example PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -32,4 +26,9 @@ target_link_flags(basic_example -lrt -ldl ) +target_sources(basic_example PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/basic_example_data.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/basic_example/basic_example.cpp +) vcs_info(basic_example) diff --git a/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.darwin.txt index 2413b1b557..1ff8a2c7fe 100644 --- a/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.darwin.txt @@ -15,11 +15,7 @@ target_link_libraries(bulk_upsert_simple PUBLIC library-cpp-getopt cpp-client-ydb_table ) -target_sources(bulk_upsert_simple PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/bulk_upsert_simple/main.cpp -) -target_link_flags(bulk_upsert_simple - PUBLIC +target_link_options(bulk_upsert_simple PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC @@ -27,4 +23,7 @@ target_link_flags(bulk_upsert_simple -framework CoreFoundation ) +target_sources(bulk_upsert_simple PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/bulk_upsert_simple/main.cpp +) vcs_info(bulk_upsert_simple) diff --git a/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.linux.txt b/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.linux.txt index 28ca4b826f..47bfb4b397 100644 --- a/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/examples/bulk_upsert_simple/CMakeLists.linux.txt @@ -16,11 +16,7 @@ target_link_libraries(bulk_upsert_simple PUBLIC library-cpp-getopt cpp-client-ydb_table ) -target_sources(bulk_upsert_simple PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/bulk_upsert_simple/main.cpp -) -target_link_flags(bulk_upsert_simple - PUBLIC +target_link_options(bulk_upsert_simple PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -30,4 +26,7 @@ target_link_flags(bulk_upsert_simple -lrt -ldl ) +target_sources(bulk_upsert_simple PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/bulk_upsert_simple/main.cpp +) vcs_info(bulk_upsert_simple) diff --git a/ydb/public/sdk/cpp/examples/pagination/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/examples/pagination/CMakeLists.darwin.txt index b236e3bd1a..e57c8a523d 100644 --- a/ydb/public/sdk/cpp/examples/pagination/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/examples/pagination/CMakeLists.darwin.txt @@ -15,13 +15,7 @@ target_link_libraries(pagination PUBLIC library-cpp-getopt cpp-client-ydb_table ) -target_sources(pagination PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/main.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/pagination_data.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/pagination.cpp -) -target_link_flags(pagination - PUBLIC +target_link_options(pagination PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC @@ -29,4 +23,9 @@ target_link_flags(pagination -framework CoreFoundation ) +target_sources(pagination PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/pagination_data.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/pagination.cpp +) vcs_info(pagination) diff --git a/ydb/public/sdk/cpp/examples/pagination/CMakeLists.linux.txt b/ydb/public/sdk/cpp/examples/pagination/CMakeLists.linux.txt index ed2808f2f1..5aa9d59f56 100644 --- a/ydb/public/sdk/cpp/examples/pagination/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/examples/pagination/CMakeLists.linux.txt @@ -16,13 +16,7 @@ target_link_libraries(pagination PUBLIC library-cpp-getopt cpp-client-ydb_table ) -target_sources(pagination PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/main.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/pagination_data.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/pagination.cpp -) -target_link_flags(pagination - PUBLIC +target_link_options(pagination PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -32,4 +26,9 @@ target_link_flags(pagination -lrt -ldl ) +target_sources(pagination PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/pagination_data.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/pagination/pagination.cpp +) vcs_info(pagination) diff --git a/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.darwin.txt index 2321fc7951..653bc86787 100644 --- a/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.darwin.txt @@ -15,6 +15,14 @@ target_link_libraries(secondary_index PUBLIC library-cpp-getopt cpp-client-ydb_table ) +target_link_options(secondary_index PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(secondary_index PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index/main.cpp ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index/secondary_index.cpp @@ -25,13 +33,4 @@ target_sources(secondary_index PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index/secondary_index_list.cpp ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index/secondary_index_update.cpp ) -target_link_flags(secondary_index - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(secondary_index) diff --git a/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.linux.txt b/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.linux.txt index 30887762b4..3305fb851f 100644 --- a/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/examples/secondary_index/CMakeLists.linux.txt @@ -16,6 +16,16 @@ target_link_libraries(secondary_index PUBLIC library-cpp-getopt cpp-client-ydb_table ) +target_link_options(secondary_index PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(secondary_index PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index/main.cpp ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index/secondary_index.cpp @@ -26,15 +36,4 @@ target_sources(secondary_index PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index/secondary_index_list.cpp ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index/secondary_index_update.cpp ) -target_link_flags(secondary_index - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(secondary_index) diff --git a/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.darwin.txt index 0ecdae44a7..65024156c2 100644 --- a/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.darwin.txt @@ -15,6 +15,14 @@ target_link_libraries(secondary_index_builtin PUBLIC library-cpp-getopt cpp-client-ydb_table ) +target_link_options(secondary_index_builtin PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(secondary_index_builtin PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/main.cpp ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index.cpp @@ -24,13 +32,4 @@ target_sources(secondary_index_builtin PRIVATE ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_drop.cpp ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_select_join.cpp ) -target_link_flags(secondary_index_builtin - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation -) vcs_info(secondary_index_builtin) diff --git a/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.linux.txt b/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.linux.txt index ee9184f12d..461bbcda41 100644 --- a/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/examples/secondary_index_builtin/CMakeLists.linux.txt @@ -16,17 +16,7 @@ target_link_libraries(secondary_index_builtin PUBLIC library-cpp-getopt cpp-client-ydb_table ) -target_sources(secondary_index_builtin PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/main.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_create.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_fill.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_select.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_drop.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_select_join.cpp -) -target_link_flags(secondary_index_builtin - PUBLIC +target_link_options(secondary_index_builtin PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -36,4 +26,13 @@ target_link_flags(secondary_index_builtin -lrt -ldl ) +target_sources(secondary_index_builtin PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_create.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_fill.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_select.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_drop.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/secondary_index_builtin/secondary_index_select_join.cpp +) vcs_info(secondary_index_builtin) diff --git a/ydb/public/sdk/cpp/examples/ttl/CMakeLists.darwin.txt b/ydb/public/sdk/cpp/examples/ttl/CMakeLists.darwin.txt index 6077847f6b..8e1a94a4e0 100644 --- a/ydb/public/sdk/cpp/examples/ttl/CMakeLists.darwin.txt +++ b/ydb/public/sdk/cpp/examples/ttl/CMakeLists.darwin.txt @@ -15,12 +15,7 @@ target_link_libraries(ttl PUBLIC library-cpp-getopt cpp-client-ydb_table ) -target_sources(ttl PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/ttl/main.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/ttl/ttl.cpp -) -target_link_flags(ttl - PUBLIC +target_link_options(ttl PRIVATE -Wl,-no_deduplicate -Wl,-sdk_version,10.15 -fPIC @@ -28,4 +23,8 @@ target_link_flags(ttl -framework CoreFoundation ) +target_sources(ttl PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/ttl/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/ttl/ttl.cpp +) vcs_info(ttl) diff --git a/ydb/public/sdk/cpp/examples/ttl/CMakeLists.linux.txt b/ydb/public/sdk/cpp/examples/ttl/CMakeLists.linux.txt index 505a5d20cf..e3997c1cba 100644 --- a/ydb/public/sdk/cpp/examples/ttl/CMakeLists.linux.txt +++ b/ydb/public/sdk/cpp/examples/ttl/CMakeLists.linux.txt @@ -16,12 +16,7 @@ target_link_libraries(ttl PUBLIC library-cpp-getopt cpp-client-ydb_table ) -target_sources(ttl PRIVATE - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/ttl/main.cpp - ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/ttl/ttl.cpp -) -target_link_flags(ttl - PUBLIC +target_link_options(ttl PRIVATE -ldl -lrt -Wl,--no-as-needed @@ -31,4 +26,8 @@ target_link_flags(ttl -lrt -ldl ) +target_sources(ttl PRIVATE + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/ttl/main.cpp + ${CMAKE_SOURCE_DIR}/ydb/public/sdk/cpp/examples/ttl/ttl.cpp +) vcs_info(ttl) diff --git a/ydb/services/cms/ut/CMakeLists.darwin.txt b/ydb/services/cms/ut/CMakeLists.darwin.txt index dd67f129ff..399c993510 100644 --- a/ydb/services/cms/ut/CMakeLists.darwin.txt +++ b/ydb/services/cms/ut/CMakeLists.darwin.txt @@ -26,6 +26,14 @@ target_link_libraries(ydb-services-cms-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-services-cms-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-services-cms-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/cms/cms_ut.cpp ) @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-cms-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-services-cms-ut) diff --git a/ydb/services/cms/ut/CMakeLists.linux.txt b/ydb/services/cms/ut/CMakeLists.linux.txt index 7bb37f9838..9771f8b028 100644 --- a/ydb/services/cms/ut/CMakeLists.linux.txt +++ b/ydb/services/cms/ut/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-services-cms-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-services-cms-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-services-cms-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/cms/cms_ut.cpp ) @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-cms-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-services-cms-ut) diff --git a/ydb/services/datastreams/ut/CMakeLists.darwin.txt b/ydb/services/datastreams/ut/CMakeLists.darwin.txt index 6d4a32ad49..406962a3ca 100644 --- a/ydb/services/datastreams/ut/CMakeLists.darwin.txt +++ b/ydb/services/datastreams/ut/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-services-datastreams-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-services-datastreams-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-services-datastreams-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/datastreams/datastreams_ut.cpp ) @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-datastreams-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-services-datastreams-ut) diff --git a/ydb/services/datastreams/ut/CMakeLists.linux.txt b/ydb/services/datastreams/ut/CMakeLists.linux.txt index a55566ba4a..ed3037bf43 100644 --- a/ydb/services/datastreams/ut/CMakeLists.linux.txt +++ b/ydb/services/datastreams/ut/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-services-datastreams-ut PUBLIC library-cpp-svnversion ydb-core-testlib ) +target_link_options(ydb-services-datastreams-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-services-datastreams-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/datastreams/datastreams_ut.cpp ) @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-datastreams-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-services-datastreams-ut) diff --git a/ydb/services/persqueue_cluster_discovery/ut/CMakeLists.darwin.txt b/ydb/services/persqueue_cluster_discovery/ut/CMakeLists.darwin.txt index c62bd559ff..970df4a62d 100644 --- a/ydb/services/persqueue_cluster_discovery/ut/CMakeLists.darwin.txt +++ b/ydb/services/persqueue_cluster_discovery/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-services-persqueue_cluster_discovery-ut PUBLIC ydb-core-testlib api-grpc ) +target_link_options(ydb-services-persqueue_cluster_discovery-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-services-persqueue_cluster_discovery-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_cluster_discovery/cluster_discovery_service_ut.cpp ) @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-persqueue_cluster_discovery-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-services-persqueue_cluster_discovery-ut) diff --git a/ydb/services/persqueue_cluster_discovery/ut/CMakeLists.linux.txt b/ydb/services/persqueue_cluster_discovery/ut/CMakeLists.linux.txt index e1b4d02a8d..d66d7a05ec 100644 --- a/ydb/services/persqueue_cluster_discovery/ut/CMakeLists.linux.txt +++ b/ydb/services/persqueue_cluster_discovery/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-services-persqueue_cluster_discovery-ut PUBLIC ydb-core-testlib api-grpc ) +target_link_options(ydb-services-persqueue_cluster_discovery-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-services-persqueue_cluster_discovery-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_cluster_discovery/cluster_discovery_service_ut.cpp ) @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-persqueue_cluster_discovery-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-services-persqueue_cluster_discovery-ut) diff --git a/ydb/services/persqueue_v1/ut/CMakeLists.darwin.txt b/ydb/services/persqueue_v1/ut/CMakeLists.darwin.txt index 637f825af3..52a7abff59 100644 --- a/ydb/services/persqueue_v1/ut/CMakeLists.darwin.txt +++ b/ydb/services/persqueue_v1/ut/CMakeLists.darwin.txt @@ -31,6 +31,14 @@ target_link_libraries(ydb-services-persqueue_v1-ut PUBLIC cpp-client-ydb_persqueue_public cpp-client-ydb_table ) +target_link_options(ydb-services-persqueue_v1-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-services-persqueue_v1-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1/persqueue_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1/persqueue_common_ut.cpp @@ -47,15 +55,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-persqueue_v1-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-services-persqueue_v1-ut) diff --git a/ydb/services/persqueue_v1/ut/CMakeLists.linux.txt b/ydb/services/persqueue_v1/ut/CMakeLists.linux.txt index 79ab67ad08..069df75152 100644 --- a/ydb/services/persqueue_v1/ut/CMakeLists.linux.txt +++ b/ydb/services/persqueue_v1/ut/CMakeLists.linux.txt @@ -32,6 +32,16 @@ target_link_libraries(ydb-services-persqueue_v1-ut PUBLIC cpp-client-ydb_persqueue_public cpp-client-ydb_table ) +target_link_options(ydb-services-persqueue_v1-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-services-persqueue_v1-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1/persqueue_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1/persqueue_common_ut.cpp @@ -48,15 +58,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-persqueue_v1-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-services-persqueue_v1-ut) diff --git a/ydb/services/persqueue_v1/ut/new_schemecache_ut/CMakeLists.darwin.txt b/ydb/services/persqueue_v1/ut/new_schemecache_ut/CMakeLists.darwin.txt index 25ffd55cc4..33e59c6362 100644 --- a/ydb/services/persqueue_v1/ut/new_schemecache_ut/CMakeLists.darwin.txt +++ b/ydb/services/persqueue_v1/ut/new_schemecache_ut/CMakeLists.darwin.txt @@ -29,6 +29,14 @@ target_link_libraries(ydb-services-persqueue_v1-ut-new_schemecache_ut PUBLIC ydb_persqueue_core-ut-ut_utils cpp-client-ydb_table ) +target_link_options(ydb-services-persqueue_v1-ut-new_schemecache_ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-services-persqueue_v1-ut-new_schemecache_ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1/persqueue_new_schemecache_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1/persqueue_common_ut.cpp @@ -45,15 +53,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-persqueue_v1-ut-new_schemecache_ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-services-persqueue_v1-ut-new_schemecache_ut) diff --git a/ydb/services/persqueue_v1/ut/new_schemecache_ut/CMakeLists.linux.txt b/ydb/services/persqueue_v1/ut/new_schemecache_ut/CMakeLists.linux.txt index e094561240..b313ae591e 100644 --- a/ydb/services/persqueue_v1/ut/new_schemecache_ut/CMakeLists.linux.txt +++ b/ydb/services/persqueue_v1/ut/new_schemecache_ut/CMakeLists.linux.txt @@ -30,6 +30,16 @@ target_link_libraries(ydb-services-persqueue_v1-ut-new_schemecache_ut PUBLIC ydb_persqueue_core-ut-ut_utils cpp-client-ydb_table ) +target_link_options(ydb-services-persqueue_v1-ut-new_schemecache_ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-services-persqueue_v1-ut-new_schemecache_ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1/persqueue_new_schemecache_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/services/persqueue_v1/persqueue_common_ut.cpp @@ -46,15 +56,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-persqueue_v1-ut-new_schemecache_ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-services-persqueue_v1-ut-new_schemecache_ut) diff --git a/ydb/services/rate_limiter/ut/CMakeLists.darwin.txt b/ydb/services/rate_limiter/ut/CMakeLists.darwin.txt index 059d04ab3f..92bba5f85a 100644 --- a/ydb/services/rate_limiter/ut/CMakeLists.darwin.txt +++ b/ydb/services/rate_limiter/ut/CMakeLists.darwin.txt @@ -24,6 +24,14 @@ target_link_libraries(ydb-services-rate_limiter-ut PUBLIC cpp-client-ydb_coordination cpp-client-ydb_rate_limiter ) +target_link_options(ydb-services-rate_limiter-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-services-rate_limiter-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/rate_limiter/rate_limiter_ut.cpp ) @@ -38,15 +46,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-rate_limiter-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-services-rate_limiter-ut) diff --git a/ydb/services/rate_limiter/ut/CMakeLists.linux.txt b/ydb/services/rate_limiter/ut/CMakeLists.linux.txt index ddb903c7a1..1b16004af3 100644 --- a/ydb/services/rate_limiter/ut/CMakeLists.linux.txt +++ b/ydb/services/rate_limiter/ut/CMakeLists.linux.txt @@ -25,6 +25,16 @@ target_link_libraries(ydb-services-rate_limiter-ut PUBLIC cpp-client-ydb_coordination cpp-client-ydb_rate_limiter ) +target_link_options(ydb-services-rate_limiter-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-services-rate_limiter-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/rate_limiter/rate_limiter_ut.cpp ) @@ -39,15 +49,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-rate_limiter-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-services-rate_limiter-ut) diff --git a/ydb/services/ydb/index_ut/CMakeLists.darwin.txt b/ydb/services/ydb/index_ut/CMakeLists.darwin.txt index b3ba8dea7a..e8b77a793f 100644 --- a/ydb/services/ydb/index_ut/CMakeLists.darwin.txt +++ b/ydb/services/ydb/index_ut/CMakeLists.darwin.txt @@ -26,6 +26,14 @@ target_link_libraries(ydb-services-ydb-index_ut PUBLIC cpp-client-ydb_scheme cpp-client-ydb_table ) +target_link_options(ydb-services-ydb-index_ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-services-ydb-index_ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_index_ut.cpp ) @@ -40,15 +48,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-ydb-index_ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-services-ydb-index_ut) diff --git a/ydb/services/ydb/index_ut/CMakeLists.linux.txt b/ydb/services/ydb/index_ut/CMakeLists.linux.txt index 49a028000a..09575d700f 100644 --- a/ydb/services/ydb/index_ut/CMakeLists.linux.txt +++ b/ydb/services/ydb/index_ut/CMakeLists.linux.txt @@ -27,6 +27,16 @@ target_link_libraries(ydb-services-ydb-index_ut PUBLIC cpp-client-ydb_scheme cpp-client-ydb_table ) +target_link_options(ydb-services-ydb-index_ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-services-ydb-index_ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_index_ut.cpp ) @@ -41,15 +51,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-ydb-index_ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-services-ydb-index_ut) diff --git a/ydb/services/ydb/sdk_credprovider_ut/CMakeLists.darwin.txt b/ydb/services/ydb/sdk_credprovider_ut/CMakeLists.darwin.txt index 96dc35f7b4..47beb0dd7b 100644 --- a/ydb/services/ydb/sdk_credprovider_ut/CMakeLists.darwin.txt +++ b/ydb/services/ydb/sdk_credprovider_ut/CMakeLists.darwin.txt @@ -25,6 +25,14 @@ target_link_libraries(ydb-services-ydb-sdk_credprovider_ut PUBLIC cpp-client-ydb_scheme cpp-client-ydb_table ) +target_link_options(ydb-services-ydb-sdk_credprovider_ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-services-ydb-sdk_credprovider_ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/ydb/sdk_credprovider_ut/dummy_provider_ut.cpp ) @@ -39,15 +47,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-ydb-sdk_credprovider_ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-services-ydb-sdk_credprovider_ut) diff --git a/ydb/services/ydb/sdk_credprovider_ut/CMakeLists.linux.txt b/ydb/services/ydb/sdk_credprovider_ut/CMakeLists.linux.txt index 4a7fea9555..08eba17494 100644 --- a/ydb/services/ydb/sdk_credprovider_ut/CMakeLists.linux.txt +++ b/ydb/services/ydb/sdk_credprovider_ut/CMakeLists.linux.txt @@ -26,6 +26,16 @@ target_link_libraries(ydb-services-ydb-sdk_credprovider_ut PUBLIC cpp-client-ydb_scheme cpp-client-ydb_table ) +target_link_options(ydb-services-ydb-sdk_credprovider_ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-services-ydb-sdk_credprovider_ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/ydb/sdk_credprovider_ut/dummy_provider_ut.cpp ) @@ -40,15 +50,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-ydb-sdk_credprovider_ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-services-ydb-sdk_credprovider_ut) diff --git a/ydb/services/ydb/ut/CMakeLists.darwin.txt b/ydb/services/ydb/ut/CMakeLists.darwin.txt index 011866c012..a4ab549a77 100644 --- a/ydb/services/ydb/ut/CMakeLists.darwin.txt +++ b/ydb/services/ydb/ut/CMakeLists.darwin.txt @@ -38,6 +38,14 @@ target_link_libraries(ydb-services-ydb-ut PUBLIC cpp-client-ydb_operation cpp-client-ydb_scheme ) +target_link_options(ydb-services-ydb-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-services-ydb-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_bulk_upsert_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_bulk_upsert_olap_ut.cpp @@ -67,15 +75,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-ydb-ut - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-services-ydb-ut) diff --git a/ydb/services/ydb/ut/CMakeLists.linux.txt b/ydb/services/ydb/ut/CMakeLists.linux.txt index 5b0669eb46..9f789f2954 100644 --- a/ydb/services/ydb/ut/CMakeLists.linux.txt +++ b/ydb/services/ydb/ut/CMakeLists.linux.txt @@ -39,6 +39,16 @@ target_link_libraries(ydb-services-ydb-ut PUBLIC cpp-client-ydb_operation cpp-client-ydb_scheme ) +target_link_options(ydb-services-ydb-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-services-ydb-ut PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_bulk_upsert_ut.cpp ${CMAKE_SOURCE_DIR}/ydb/services/ydb/ydb_bulk_upsert_olap_ut.cpp @@ -68,15 +78,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-ydb-ut - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-services-ydb-ut) diff --git a/ydb/services/yq/ut_integration/CMakeLists.darwin.txt b/ydb/services/yq/ut_integration/CMakeLists.darwin.txt index ff88bee55a..dff30ae8ea 100644 --- a/ydb/services/yq/ut_integration/CMakeLists.darwin.txt +++ b/ydb/services/yq/ut_integration/CMakeLists.darwin.txt @@ -34,6 +34,14 @@ target_link_libraries(ydb-services-yq-ut_integration PUBLIC library-yql-utils yql-sql-pg_dummy ) +target_link_options(ydb-services-yq-ut_integration PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) target_sources(ydb-services-yq-ut_integration PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/yq/ut_integration/ut_utils.cpp ${CMAKE_SOURCE_DIR}/ydb/services/yq/ut_integration/yq_ut.cpp @@ -49,15 +57,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-yq-ut_integration - PUBLIC - -Wl,-no_deduplicate - -Wl,-sdk_version,10.15 - -fPIC - -fPIC - -framework - CoreFoundation - -framework - CoreFoundation -) vcs_info(ydb-services-yq-ut_integration) diff --git a/ydb/services/yq/ut_integration/CMakeLists.linux.txt b/ydb/services/yq/ut_integration/CMakeLists.linux.txt index cb70688e3f..0ff91c894f 100644 --- a/ydb/services/yq/ut_integration/CMakeLists.linux.txt +++ b/ydb/services/yq/ut_integration/CMakeLists.linux.txt @@ -35,6 +35,16 @@ target_link_libraries(ydb-services-yq-ut_integration PUBLIC library-yql-utils yql-sql-pg_dummy ) +target_link_options(ydb-services-yq-ut_integration PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) target_sources(ydb-services-yq-ut_integration PRIVATE ${CMAKE_SOURCE_DIR}/ydb/services/yq/ut_integration/ut_utils.cpp ${CMAKE_SOURCE_DIR}/ydb/services/yq/ut_integration/yq_ut.cpp @@ -50,15 +60,4 @@ add_test( --print-times --show-fails ) -target_link_flags(ydb-services-yq-ut_integration - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) vcs_info(ydb-services-yq-ut_integration) |