mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
components: use new component registration api
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
set(COMPONENT_ADD_INCLUDEDIRS include)
|
||||
set(COMPONENT_PRIV_INCLUDEDIRS src/port/esp32 src/util)
|
||||
set(COMPONENT_SRCS "src/httpd_main.c"
|
||||
"src/httpd_parse.c"
|
||||
"src/httpd_sess.c"
|
||||
"src/httpd_txrx.c"
|
||||
"src/httpd_uri.c"
|
||||
"src/util/ctrl_sock.c")
|
||||
|
||||
set(COMPONENT_REQUIRES nghttp) # for http_parser.h
|
||||
set(COMPONENT_PRIV_REQUIRES lwip)
|
||||
|
||||
register_component()
|
||||
idf_component_register(SRCS "src/httpd_main.c"
|
||||
"src/httpd_parse.c"
|
||||
"src/httpd_sess.c"
|
||||
"src/httpd_txrx.c"
|
||||
"src/httpd_uri.c"
|
||||
"src/util/ctrl_sock.c"
|
||||
INCLUDE_DIRS "include"
|
||||
PRIV_INCLUDE_DIRS "src/port/esp32" "src/util"
|
||||
REQUIRES nghttp
|
||||
PRIV_REQUIRES lwip) # for http_parser.h
|
||||
|
||||
Reference in New Issue
Block a user