CMakeLists.darwin-x86_64.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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/httpagent.h
  27. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfetcher.h
  28. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
  29. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpparser.h
  30. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpzreader.h
  31. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/sockhandler.h
  32. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp
  33. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp
  34. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp
  35. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp
  36. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp
  37. )
  38. generate_enum_serilization(cpp-http-fetch
  39. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
  40. INCLUDE_HEADERS
  41. library/cpp/http/fetch/httpheader.h
  42. )
  43. target_ragel_lexers(cpp-http-fetch
  44. PRIVATE
  45. ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6
  46. -CG1
  47. )