- idf_build_get_property(prefix IDF_PATH)
- string(CONCAT prefix "${prefix}" "/components/esp_http_server")
- idf_component_register(
- SRC_DIRS "${prefix}/src" "${prefix}/src/util"
- INCLUDE_DIRS "${prefix}/include"
- PRIV_INCLUDE_DIRS "." "${prefix}/src/port/esp32" "${prefix}/src/util"
- REQUIRES nghttp # for http_parser.h
- PRIV_REQUIRES lwip mbedtls esp_timer
- )
|