CMakeLists.darwin-x86_64.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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-cxxsupp
  24. yutil
  25. cpp-string_utils-base64
  26. )
  27. target_sources(library-cpp-build_info PRIVATE
  28. ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info_static.cpp
  29. ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
  30. ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
  31. ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
  32. )
  33. add_custom_command(
  34. OUTPUT
  35. ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
  36. DEPENDS
  37. ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
  38. COMMAND
  39. Python3::Interpreter
  40. ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
  41. ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
  42. \"${CMAKE_CXX_COMPILER}\"
  43. \"${CMAKE_CXX_FLAGS}\"
  44. )
  45. configure_file(
  46. ${CMAKE_SOURCE_DIR}/library/cpp/build_info/sandbox.cpp.in
  47. ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
  48. )
  49. configure_file(
  50. ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info.cpp.in
  51. ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
  52. )