Files

37 lines
625 B
CMake
Raw Permalink Normal View History

2021-04-07 20:03:49 +02:00
set(headers
src/asynchttprequest.h
)
set(sources
src/asynchttprequest.cpp
)
2021-04-26 12:39:42 +02:00
set(dependencies
cpputils
espchrono
espcpputils
esp_http_client
2021-08-04 22:10:25 +02:00
fmt
2021-04-26 12:39:42 +02:00
)
idf_component_register(
INCLUDE_DIRS
src
SRCS
${headers}
${sources}
REQUIRES
${dependencies}
2021-04-07 20:03:49 +02:00
)
2023-04-27 14:28:58 +02:00
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 23)
2021-05-26 02:41: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
)