Search found 1 match

by albertabac
Sun Mar 12, 2023 8:05 am
Forum: ESP-IDF
Topic: target_compile_options seems to not be making any effect
Replies: 0
Views: 618

target_compile_options seems to not be making any effect

target_compile_options seems to not be making any effect. I have the following CMakeLists.txt inside the component: idf_component_register(SRCS "nvs_manager.c" INCLUDE_DIRS "include" REQUIRES nvs_flash) target_compile_options(${COMPONENT_LIB} PUBLIC -Wall -Werror=all) Inside the file nvs_manager.c, ...