Files
esphttpdutils/CMakeLists.txt

41 lines
694 B
CMake
Raw Normal View History

2021-08-06 17:12:16 +02:00
set(headers
src/esphttpdutils.h
src/esphttpstatuscodes.h
src/htmlbuilder.h
2021-08-06 17:12:16 +02:00
)
set(sources
src/esphttpdutils.cpp
src/esphttpstatuscodes.cpp
2021-08-06 17:12:16 +02:00
)
set(dependencies
esp_http_server
cpputils
espchrono
espcpputils
)
idf_component_register(
INCLUDE_DIRS
src
SRCS
${headers}
${sources}
REQUIRES
${dependencies}
)
2023-04-27 14:31:21 +02:00
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 23)
2021-08-06 17:12:16 +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
)