Files
esptftlib/CMakeLists.txt
2024-09-18 16:41:47 +02:00

38 lines
616 B
CMake

set(headers
src/icon.h
src/tftinterface.h
)
set(sources
)
set(dependencies
cpputils
cxx-ring-buffer
espchrono
espcpputils
espwifistack
)
idf_component_register(
INCLUDE_DIRS
src
SRCS
${headers}
${sources}
REQUIRES
${dependencies}
)
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 23)
target_compile_options(${COMPONENT_TARGET}
PRIVATE
-fstack-reuse=all
-fstack-protector-all
-Wno-unused-function
-Wno-deprecated-declarations
-Wno-missing-field-initializers
-Wno-parentheses
)