CMakeLists.linux-aarch64.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. get_built_tool_path(
  7. TOOL_archiver_bin
  8. TOOL_archiver_dependency
  9. tools/archiver
  10. archiver
  11. )
  12. add_library(library-cpp-config)
  13. target_include_directories(library-cpp-config PUBLIC
  14. ${CMAKE_BINARY_DIR}/library/cpp/config
  15. )
  16. target_link_libraries(library-cpp-config PUBLIC
  17. contrib-libs-linux-headers
  18. contrib-libs-cxxsupp
  19. yutil
  20. library-cpp-archive
  21. library-cpp-json
  22. library-cpp-lua
  23. cpp-string_utils-relaxed_escaper
  24. )
  25. target_sources(library-cpp-config PRIVATE
  26. ${CMAKE_SOURCE_DIR}/library/cpp/config/config.cpp
  27. ${CMAKE_SOURCE_DIR}/library/cpp/config/sax.cpp
  28. ${CMAKE_SOURCE_DIR}/library/cpp/config/value.cpp
  29. ${CMAKE_SOURCE_DIR}/library/cpp/config/markup.cpp
  30. ${CMAKE_SOURCE_DIR}/library/cpp/config/ini.cpp
  31. ${CMAKE_SOURCE_DIR}/library/cpp/config/domscheme.cpp
  32. ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
  33. )
  34. add_custom_command(
  35. OUTPUT
  36. ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
  37. DEPENDS
  38. ${TOOL_archiver_bin}
  39. ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua
  40. COMMAND
  41. ${TOOL_archiver_bin}
  42. -q
  43. -x
  44. ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua:
  45. -o
  46. ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
  47. )
  48. target_ragel_lexers(library-cpp-config
  49. PRIVATE
  50. ${CMAKE_SOURCE_DIR}/library/cpp/config/markupfsm.h.rl6
  51. -CG2
  52. )
  53. if(NOT CMAKE_CROSSCOMPILING)
  54. add_dependencies(library-cpp-config
  55. archiver
  56. )
  57. endif()