Add CMakeLists.txt file for ESP-IDF

This commit is contained in:
Robert Alfaro
2019-07-08 12:50:27 -07:00
parent 483672016c
commit 70898594df

15
CMakeLists.txt Normal file
View File

@ -0,0 +1,15 @@
set(COMPONENT_SRCDIRS
"src"
)
set(COMPONENT_ADD_INCLUDEDIRS
"src"
)
set(COMPONENT_REQUIRES
"arduino-esp32"
)
register_component()
target_compile_options(${COMPONENT_TARGET} PRIVATE -fno-rtti)