Switch HTTP Server
This commit is contained in:
19
lib/PsychicHttp/CMakeLists.txt
Normal file
19
lib/PsychicHttp/CMakeLists.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
set(COMPONENT_SRCDIRS
|
||||
"src"
|
||||
)
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS
|
||||
"src"
|
||||
)
|
||||
|
||||
set(COMPONENT_REQUIRES
|
||||
"arduino-esp32"
|
||||
"esp_https_server"
|
||||
"ArduinoJson"
|
||||
"UrlEncode"
|
||||
)
|
||||
|
||||
register_component()
|
||||
|
||||
target_compile_definitions(${COMPONENT_TARGET} PUBLIC -DESP32)
|
||||
target_compile_options(${COMPONENT_TARGET} PRIVATE -fno-rtti)
|
||||
Reference in New Issue
Block a user