This commit is contained in:
Pham Viet Dzung 2024-07-03 17:04:48 -05:00 committed by GitHub
commit 7bf5a60b4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 0 deletions

21
CMakeLists.txt Normal file
View File

@ -0,0 +1,21 @@
set(COMPONENT_SRCDIRS
"src"
"src/src/extras"
)
set(COMPONENT_ADD_INCLUDEDIRS
"src"
"src/extras"
"src/src/extras"
)
set(COMPONENT_REQUIRES
"arduino-esp32"
"libsodium"
"app_update"
)
register_component()
target_compile_definitions(${COMPONENT_TARGET} PUBLIC -DESP32)
target_compile_options(${COMPONENT_TARGET} PRIVATE -fno-rtti)