12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- # 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
- )
|