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 /tools | |
parent | 61b49a878a33977897d44f72118d6791ac3794fa (diff) | |
download | ydb-40b71ca5f57840f038abe9fd4f0615f92b8dece8.tar.gz |
intermediate changes
ref:e8092279aeb152c7934ef72249a90434dbbe4318
Diffstat (limited to 'tools')
4 files changed, 16 insertions, 20 deletions
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) |