32 lines
495 B
CMake
32 lines
495 B
CMake
set(headers
|
|
bobbycar-can.h
|
|
bobbycar-common.h
|
|
bobbycar-serial.h
|
|
)
|
|
|
|
set(sources
|
|
)
|
|
|
|
set(dependencies
|
|
)
|
|
|
|
idf_component_register(
|
|
INCLUDE_DIRS
|
|
.
|
|
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
|
|
)
|