diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-07 12:53:35 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-07 12:53:35 +0300 |
commit | 33ed6077e694c2f1286c01ebe1be30b189850e77 (patch) | |
tree | e63bbad8736baf21ab183e9d98597aa27f5a2233 /library/cpp/build_info/CMakeLists.linux-x86_64.txt | |
parent | fb974eec1b6958138ae30adaafd5503f0d91d388 (diff) | |
download | ydb-33ed6077e694c2f1286c01ebe1be30b189850e77.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/build_info/CMakeLists.linux-x86_64.txt')
-rw-r--r-- | library/cpp/build_info/CMakeLists.linux-x86_64.txt | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/library/cpp/build_info/CMakeLists.linux-x86_64.txt b/library/cpp/build_info/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..7067bdf107 --- /dev/null +++ b/library/cpp/build_info/CMakeLists.linux-x86_64.txt @@ -0,0 +1,58 @@ + +# This file was generated 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. + + +find_package(Python3 REQUIRED) +set( + KOSHER_SVN_VERSION + +) +set( + SANDBOX_TASK_ID + 0 +) +set( + BUILD_TYPE + RELEASE +) + +add_library(library-cpp-build_info) +target_include_directories(library-cpp-build_info PUBLIC + ${CMAKE_BINARY_DIR}/library/cpp/build_info +) +target_link_libraries(library-cpp-build_info PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-string_utils-base64 +) +target_sources(library-cpp-build_info PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info_static.cpp + ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h + ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp + ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp +) +add_custom_command( + OUTPUT + ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h + DEPENDS + ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py + COMMAND + Python3::Interpreter + ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py + ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h + \"${CMAKE_CXX_COMPILER}\" + \"${CMAKE_CXX_FLAGS}\" +) +configure_file( + ${CMAKE_SOURCE_DIR}/library/cpp/build_info/sandbox.cpp.in + ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp +) +configure_file( + ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info.cpp.in + ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp +) |