diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
commit | d32759b7eb812b4a4033cc61e1e98245544b4992 (patch) | |
tree | 22bbb3e9b46c1b55818aaf475f699ae187ce328b /tools | |
parent | 471e9b902d01b70b2d12146772e30528a216ee82 (diff) | |
download | ydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz |
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'tools')
-rw-r--r-- | tools/enum_parser/enum_parser/bin/CMakeLists.darwin.txt | 28 | ||||
-rw-r--r-- | tools/enum_parser/enum_parser/bin/CMakeLists.linux.txt | 33 | ||||
-rw-r--r-- | tools/enum_parser/enum_parser/bin/CMakeLists.txt | 30 | ||||
-rw-r--r-- | tools/rescompiler/bin/CMakeLists.darwin.txt | 27 | ||||
-rw-r--r-- | tools/rescompiler/bin/CMakeLists.linux.txt | 32 | ||||
-rw-r--r-- | tools/rescompiler/bin/CMakeLists.txt | 29 |
6 files changed, 130 insertions, 49 deletions
diff --git a/tools/enum_parser/enum_parser/bin/CMakeLists.darwin.txt b/tools/enum_parser/enum_parser/bin/CMakeLists.darwin.txt new file mode 100644 index 0000000000..7ad865307f --- /dev/null +++ b/tools/enum_parser/enum_parser/bin/CMakeLists.darwin.txt @@ -0,0 +1,28 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(enum_parser) +target_link_libraries(enum_parser PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + 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 + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) +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 new file mode 100644 index 0000000000..322b89ac63 --- /dev/null +++ b/tools/enum_parser/enum_parser/bin/CMakeLists.linux.txt @@ -0,0 +1,33 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(enum_parser) +target_link_libraries(enum_parser PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + 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 + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(enum_parser) diff --git a/tools/enum_parser/enum_parser/bin/CMakeLists.txt b/tools/enum_parser/enum_parser/bin/CMakeLists.txt index 322b89ac63..a681d385f3 100644 --- a/tools/enum_parser/enum_parser/bin/CMakeLists.txt +++ b/tools/enum_parser/enum_parser/bin/CMakeLists.txt @@ -6,28 +6,8 @@ # original buildsystem will not be accepted. - -add_executable(enum_parser) -target_link_libraries(enum_parser PUBLIC - contrib-libs-cxxsupp - yutil - library-cpp-lfalloc - library-cpp-cpuid_check - 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 - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) -vcs_info(enum_parser) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/tools/rescompiler/bin/CMakeLists.darwin.txt b/tools/rescompiler/bin/CMakeLists.darwin.txt new file mode 100644 index 0000000000..a0b217f764 --- /dev/null +++ b/tools/rescompiler/bin/CMakeLists.darwin.txt @@ -0,0 +1,27 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(rescompiler) +target_link_libraries(rescompiler PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + library-cpp-resource +) +target_sources(rescompiler PRIVATE + ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp +) +target_link_flags(rescompiler + PUBLIC + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) +vcs_info(rescompiler) diff --git a/tools/rescompiler/bin/CMakeLists.linux.txt b/tools/rescompiler/bin/CMakeLists.linux.txt new file mode 100644 index 0000000000..1e812927a1 --- /dev/null +++ b/tools/rescompiler/bin/CMakeLists.linux.txt @@ -0,0 +1,32 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(rescompiler) +target_link_libraries(rescompiler PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + library-cpp-resource +) +target_sources(rescompiler PRIVATE + ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp +) +target_link_flags(rescompiler + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(rescompiler) diff --git a/tools/rescompiler/bin/CMakeLists.txt b/tools/rescompiler/bin/CMakeLists.txt index 1e812927a1..a681d385f3 100644 --- a/tools/rescompiler/bin/CMakeLists.txt +++ b/tools/rescompiler/bin/CMakeLists.txt @@ -6,27 +6,8 @@ # original buildsystem will not be accepted. - -add_executable(rescompiler) -target_link_libraries(rescompiler PUBLIC - contrib-libs-cxxsupp - yutil - library-cpp-lfalloc - library-cpp-cpuid_check - library-cpp-resource -) -target_sources(rescompiler PRIVATE - ${CMAKE_SOURCE_DIR}/tools/rescompiler/main.cpp -) -target_link_flags(rescompiler - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) -vcs_info(rescompiler) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() |