2021-02-04 01:56:39 +01:00
|
|
|
set(headers
|
2021-08-09 15:18:15 +02:00
|
|
|
src/arrayview.h
|
2021-02-09 18:35:08 +01:00
|
|
|
src/cleanuphelper.h
|
2021-08-06 21:54:08 +02:00
|
|
|
src/color_utils.h
|
2021-03-22 10:33:31 +01:00
|
|
|
src/cppbitmask.h
|
2021-02-09 18:35:08 +01:00
|
|
|
src/cppflags.h
|
|
|
|
|
src/cppmacros.h
|
|
|
|
|
src/cppoverloadutils.h
|
|
|
|
|
src/cppsignal.h
|
|
|
|
|
src/cpptypesafeenum.h
|
|
|
|
|
src/cpputils.h
|
2021-08-06 21:54:08 +02:00
|
|
|
src/crc32builder.h
|
2021-02-09 18:35:08 +01:00
|
|
|
src/delayedconstruction.h
|
2021-08-07 00:07:23 +02:00
|
|
|
src/makearray.h
|
2021-07-15 18:36:06 +02:00
|
|
|
src/numberparsing.h
|
2021-09-05 21:07:47 +02:00
|
|
|
src/randomutils.h
|
2021-05-25 15:15:44 +02:00
|
|
|
src/refwhenneeded.h
|
2021-02-09 18:35:08 +01:00
|
|
|
src/strutils.h
|
2021-02-04 01:56:39 +01:00
|
|
|
)
|
|
|
|
|
|
2021-02-09 18:35:08 +01:00
|
|
|
set(sources
|
2021-08-06 21:54:08 +02:00
|
|
|
src/color_utils.cpp
|
2021-02-09 18:35:08 +01:00
|
|
|
src/strutils.cpp
|
|
|
|
|
)
|
|
|
|
|
|
2021-05-26 02:41:08 +02:00
|
|
|
set(dependencies
|
2021-08-01 21:41:53 +02:00
|
|
|
expected
|
|
|
|
|
fmt
|
2021-05-26 02:41:08 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
idf_component_register(
|
|
|
|
|
INCLUDE_DIRS
|
|
|
|
|
src
|
|
|
|
|
SRCS
|
|
|
|
|
${headers}
|
|
|
|
|
${sources}
|
|
|
|
|
REQUIRES
|
|
|
|
|
${dependencies}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
target_compile_options(${COMPONENT_TARGET}
|
|
|
|
|
PRIVATE
|
|
|
|
|
-fstack-reuse=all
|
|
|
|
|
-fstack-protector-all
|
|
|
|
|
-Wno-unused-function
|
|
|
|
|
-Wno-deprecated-declarations
|
|
|
|
|
-Wno-missing-field-initializers
|
|
|
|
|
-Wno-parentheses
|
|
|
|
|
)
|