Revert "cmake: modules: yaml: Remove debug messages"

This reverts commit 8f48758836.
as it's part of a series of commits causing issues on Windows

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2025-01-29 07:49:12 +01:00 committed by Benjamin Cabé
commit 55112d658e

View file

@ -321,6 +321,8 @@ function(yaml_set)
endif()
list(POP_FRONT ARG_YAML_LIST map_value)
string(REGEX REPLACE "[ ]*(:|,)[ ]*" "\"\\1\"" qouted_map_value "\"${map_value}\"")
message("foo: ${map_value}")
message("bar: ${qouted_map_value}")
string(JSON json_content SET "${json_content}" ${ARG_YAML_KEY} ${i} "{${qouted_map_value}}")
endforeach()
else()