CMakeLists.darwin-arm64.txt 870 B

123456789101112131415161718192021
  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. add_library(contrib-restricted-http-parser)
  7. target_compile_options(contrib-restricted-http-parser PRIVATE
  8. -DHTTP_MAX_HEADER_SIZE=0x7fffffff
  9. -DHTTP_PARSER_STRICT=0
  10. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  11. )
  12. target_include_directories(contrib-restricted-http-parser PRIVATE
  13. ${CMAKE_SOURCE_DIR}/contrib/restricted/http-parser
  14. )
  15. target_sources(contrib-restricted-http-parser PRIVATE
  16. ${CMAKE_SOURCE_DIR}/contrib/restricted/http-parser/http_parser.c
  17. )