Disabling -Werror=all
Posted: Mon Jul 03, 2023 11:17 am
How can I disable -Werror=all for esp-idf v5.1? I tried this
or this
but it does not work and it's really anoying because can't build IDF internal components
Code: Select all
project(xyz)
idf_build_set_property(
COMPILE_OPTIONS
"-Wno-error"
APPEND
)
Code: Select all
add_compile_options(
-Wno-error
)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(xyz)