Disabling -Werror=all

jendo42
Posts: 1
Joined: Mon Jul 03, 2023 10:43 am

Disabling -Werror=all

Postby jendo42 » Mon Jul 03, 2023 11:17 am

How can I disable -Werror=all for esp-idf v5.1? I tried this

Code: Select all

project(xyz)
idf_build_set_property(
	COMPILE_OPTIONS
		"-Wno-error"
	APPEND
)
or this

Code: Select all

add_compile_options(
	-Wno-error
)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(xyz)
but it does not work and it's really anoying because can't build IDF internal components

Who is online

Users browsing this forum: Google [Bot] and 87 guests