CMakeLists.darwin-x86_64.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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_enum_parser_bin
  8. TOOL_enum_parser_dependency
  9. tools/enum_parser/enum_parser
  10. enum_parser
  11. )
  12. add_library(cpp-http-fetch)
  13. target_link_libraries(cpp-http-fetch PUBLIC
  14. contrib-libs-cxxsupp
  15. yutil
  16. contrib-libs-zlib
  17. library-cpp-charset
  18. cpp-digest-md5
  19. cpp-http-misc
  20. library-cpp-logger
  21. cpp-mime-types
  22. library-cpp-uri
  23. tools-enum_parser-enum_serialization_runtime
  24. )
  25. target_sources(cpp-http-fetch PRIVATE
  26. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp
  27. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp
  28. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp
  29. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp
  30. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp
  31. )
  32. generate_enum_serilization(cpp-http-fetch
  33. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
  34. INCLUDE_HEADERS
  35. library/cpp/http/fetch/httpheader.h
  36. )
  37. target_ragel_lexers(cpp-http-fetch
  38. PRIVATE
  39. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6
  40. -CG1
  41. )