Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 8451c0d

Browse files
robert-alfarome-no-dev
authored andcommitted
Add CMakeLists.txt file for ESP-IDF (#603)
1 parent c7ece88 commit 8451c0d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

CMakeLists.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
set(COMPONENT_SRCDIRS
2+
"src"
3+
)
4+
5+
set(COMPONENT_ADD_INCLUDEDIRS
6+
"src"
7+
)
8+
9+
set(COMPONENT_REQUIRES
10+
"arduino-esp32"
11+
"AsyncTCP"
12+
)
13+
14+
register_component()
15+
16+
target_compile_definitions(${COMPONENT_TARGET} PUBLIC -DESP32)
17+
target_compile_options(${COMPONENT_TARGET} PRIVATE -fno-rtti)

0 commit comments

Comments
 (0)