diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
commit | 6324d075a5e80b6943b5de6b465b775050fe83df (patch) | |
tree | e02ce32e988042438f64df770a528164ac572879 /library/cpp/build_info/CMakeLists.windows-x86_64.txt | |
parent | 039e25e1597bec288de44e5061c1b84e195add08 (diff) | |
download | ydb-6324d075a5e80b6943b5de6b465b775050fe83df.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/build_info/CMakeLists.windows-x86_64.txt')
-rw-r--r-- | library/cpp/build_info/CMakeLists.windows-x86_64.txt | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/library/cpp/build_info/CMakeLists.windows-x86_64.txt b/library/cpp/build_info/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a749cac8a0 --- /dev/null +++ b/library/cpp/build_info/CMakeLists.windows-x86_64.txt @@ -0,0 +1,57 @@ + +# 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-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 +) |