CMakeLists.linux-aarch64.txt 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # This file was generated by the build system used internally in the Yandex monorepo.
  2. # Only simple modifications are allowed (adding source-files to targets, adding simple properties
  3. # like target_include_directories). These modifications will be ported to original
  4. # ya.make files by maintainers. Any complex modifications which can't be ported back to the
  5. # original buildsystem will not be accepted.
  6. find_package(Python3 REQUIRED)
  7. set(
  8. KOSHER_SVN_VERSION
  9. )
  10. set(
  11. SANDBOX_TASK_ID
  12. 0
  13. )
  14. set(
  15. BUILD_TYPE
  16. RELEASE
  17. )
  18. add_library(library-cpp-build_info)
  19. target_include_directories(library-cpp-build_info PUBLIC
  20. ${CMAKE_BINARY_DIR}/library/cpp/build_info
  21. )
  22. target_link_libraries(library-cpp-build_info PUBLIC
  23. contrib-libs-linux-headers
  24. contrib-libs-cxxsupp
  25. yutil
  26. cpp-string_utils-base64
  27. )
  28. target_sources(library-cpp-build_info PRIVATE
  29. ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
  30. ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info_static.cpp
  31. ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
  32. ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
  33. ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
  34. )
  35. add_custom_command(
  36. OUTPUT
  37. ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
  38. DEPENDS
  39. ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
  40. COMMAND
  41. Python3::Interpreter
  42. ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
  43. ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
  44. \"${CMAKE_CXX_COMPILER}\"
  45. \"${CMAKE_CXX_FLAGS}\"
  46. )
  47. configure_file(
  48. ${CMAKE_SOURCE_DIR}/library/cpp/build_info/sandbox.cpp.in
  49. ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
  50. )
  51. configure_file(
  52. ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info.cpp.in
  53. ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
  54. )