From 10811d72db30b921b665ff2530d5826decc3c043 Mon Sep 17 00:00:00 2001 From: p0px Date: Fri, 14 Jun 2024 13:49:50 -0400 Subject: [PATCH] Add CMakeLists.txt so using ESPAsyncWebServer as an ESPIDF component compiles. --- CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..64292ec --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,17 @@ +set(COMPONENT_SRCDIRS + "src" +) + +set(COMPONENT_ADD_INCLUDEDIRS + "src" +) + +set(COMPONENT_REQUIRES + "arduino-esp32" + "AsyncTCP" +) + +register_component() + +target_compile_definitions(${COMPONENT_TARGET} PUBLIC -DESP32) +target_compile_options(${COMPONENT_TARGET} PRIVATE -fno-rtti)