diff --git a/CMakeLists.txt b/CMakeLists.txt index cb29dca..9e1087c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,4 +17,25 @@ set(sources src/strutils.cpp ) -idf_component_register(INCLUDE_DIRS src SRCS ${headers} ${sources}) +set(dependencies +) + +idf_component_register( + INCLUDE_DIRS + src + SRCS + ${headers} + ${sources} + REQUIRES + ${dependencies} +) + +target_compile_options(${COMPONENT_TARGET} + PRIVATE + -fstack-reuse=all + -fstack-protector-all + -Wno-unused-function + -Wno-deprecated-declarations + -Wno-missing-field-initializers + -Wno-parentheses +)