CMakeLists.darwin.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # This file was gererated 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. add_library(library-cpp-config)
  7. target_include_directories(library-cpp-config PUBLIC
  8. ${CMAKE_BINARY_DIR}/library/cpp/config
  9. )
  10. target_link_libraries(library-cpp-config PUBLIC
  11. contrib-libs-cxxsupp
  12. yutil
  13. library-cpp-archive
  14. library-cpp-json
  15. library-cpp-lua
  16. cpp-string_utils-relaxed_escaper
  17. )
  18. target_sources(library-cpp-config PRIVATE
  19. ${CMAKE_SOURCE_DIR}/library/cpp/config/config.cpp
  20. ${CMAKE_SOURCE_DIR}/library/cpp/config/sax.cpp
  21. ${CMAKE_SOURCE_DIR}/library/cpp/config/value.cpp
  22. ${CMAKE_SOURCE_DIR}/library/cpp/config/markup.cpp
  23. ${CMAKE_SOURCE_DIR}/library/cpp/config/ini.cpp
  24. ${CMAKE_SOURCE_DIR}/library/cpp/config/domscheme.cpp
  25. ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
  26. )
  27. add_custom_command(
  28. OUTPUT
  29. ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
  30. DEPENDS
  31. ${TOOLS_ROOT}/tools/archiver/archiver
  32. ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua
  33. COMMAND
  34. ${TOOLS_ROOT}/tools/archiver/archiver
  35. -q
  36. -x
  37. ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua:
  38. -o
  39. ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
  40. )
  41. target_ragel_lexers(library-cpp-config
  42. PRIVATE
  43. ${CMAKE_SOURCE_DIR}/library/cpp/config/markupfsm.h.rl6
  44. -CG2
  45. )