mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(build): Correct the usage example for idf_build_replace_option_from_property
This commit is contained in:
@@ -75,8 +75,8 @@ endfunction()
|
||||
# @param[in] new_option the option to replace with (if empty, the old option will be removed)
|
||||
#
|
||||
# Example usage:
|
||||
# idf_build_replace_options_from_property(COMPILE_OPTIONS "-Werror" "-Werror=all")
|
||||
# idf_build_replace_options_from_property(COMPILE_OPTIONS "-Wno-error=extra" "")
|
||||
# idf_build_replace_option_from_property(COMPILE_OPTIONS "-Werror" "-Werror=all")
|
||||
# idf_build_replace_option_from_property(COMPILE_OPTIONS "-Wno-error=extra" "")
|
||||
#
|
||||
function(idf_build_replace_option_from_property property_name option_to_remove new_option)
|
||||
idf_build_get_property(current_list_of_options ${property_name})
|
||||
|
||||
Reference in New Issue
Block a user