CMakeLists.txt formatting
This commit is contained in:
@@ -6,16 +6,29 @@ set(sources
|
||||
src/asyncudplistener.cpp
|
||||
)
|
||||
|
||||
idf_component_register(INCLUDE_DIRS
|
||||
src
|
||||
SRCS
|
||||
${headers}
|
||||
${sources}
|
||||
REQUIRES
|
||||
cpputils
|
||||
espchrono
|
||||
espcpputils
|
||||
espwifistack
|
||||
set(dependencies
|
||||
cpputils
|
||||
espchrono
|
||||
espcpputils
|
||||
espwifistack
|
||||
)
|
||||
|
||||
target_compile_options(${COMPONENT_TARGET} PRIVATE -Wno-unused-function -Wno-deprecated-declarations -Wno-missing-field-initializers)
|
||||
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
|
||||
)
|
||||
|
Reference in New Issue
Block a user