Skip to content

Commit

Permalink
Add CMakeLists.txt file for ESP-IDF (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-alfaro authored and me-no-dev committed Oct 2, 2019
1 parent c7ece88 commit 8451c0d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 8451c0d

Please sign in to comment.