2
0

CMakeLists.txt 383 B

12345678910
  1. idf_build_get_property(prefix IDF_PATH)
  2. string(CONCAT prefix "${prefix}" "/components/esp_http_server")
  3. idf_component_register(
  4. SRC_DIRS "${prefix}/src" "${prefix}/src/util"
  5. INCLUDE_DIRS "${prefix}/include"
  6. PRIV_INCLUDE_DIRS "." "${prefix}/src/port/esp32" "${prefix}/src/util"
  7. REQUIRES nghttp # for http_parser.h
  8. PRIV_REQUIRES lwip mbedtls esp_timer
  9. )