Files
espasyncudplistener/CMakeLists.txt

37 lines
614 B
CMake
Raw Permalink Normal View History

2021-04-15 23:17:22 +02:00
set(headers
src/asyncudplistener.h
)
set(sources
src/asyncudplistener.cpp
)
2021-05-26 02:42:07 +02:00
set(dependencies
cpputils
espchrono
espcpputils
espwifistack
2021-04-15 23:17:22 +02:00
)
2021-05-26 02:42:07 +02:00
idf_component_register(
INCLUDE_DIRS
src
SRCS
${headers}
${sources}
REQUIRES
${dependencies}
)
2023-04-27 14:29:42 +02:00
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 23)
2021-05-26 02:42:07 +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
)