CMakeLists.txt 542 B

1234567891011
  1. idf_component_register(SRCS "esp_http_client.c"
  2. "lib/http_auth.c"
  3. "lib/http_header.c"
  4. "lib/http_utils.c"
  5. INCLUDE_DIRS "include"
  6. PRIV_INCLUDE_DIRS "lib/include"
  7. # lwip is a public requirement because esp_http_client.h includes sys/socket.h
  8. REQUIRES lwip
  9. PRIV_REQUIRES tcp_transport http_parser)
  10. target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")