2021-08-05 11:57:44 +02:00
|
|
|
set(headers
|
|
|
|
src/espasyncota.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(sources
|
|
|
|
src/espasyncota.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(dependencies
|
|
|
|
esp_https_ota
|
2022-12-13 17:56:21 +01:00
|
|
|
esp_partition
|
2021-08-06 17:11:38 +02:00
|
|
|
|
|
|
|
cpputils
|
|
|
|
espchrono
|
|
|
|
espcpputils
|
|
|
|
esphttpdutils
|
2021-08-05 11:57:44 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
idf_component_register(
|
|
|
|
INCLUDE_DIRS
|
|
|
|
src
|
|
|
|
SRCS
|
|
|
|
${headers}
|
|
|
|
${sources}
|
|
|
|
REQUIRES
|
|
|
|
${dependencies}
|
|
|
|
)
|
|
|
|
|
2023-04-27 14:29:26 +02:00
|
|
|
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 23)
|
|
|
|
|
2021-08-05 11:57:44 +02:00
|
|
|
target_compile_options(${COMPONENT_TARGET}
|
|
|
|
PRIVATE
|
|
|
|
-fstack-reuse=all
|
|
|
|
-fstack-protector-all
|
|
|
|
-Wno-unused-function
|
|
|
|
-Wno-deprecated-declarations
|
|
|
|
-Wno-missing-field-initializers
|
|
|
|
-Wno-parentheses
|
|
|
|
)
|