cmake: initial version of a CMake yaml module

Initial CMake yaml module to facilitate reading yaml files into CMake,
update yaml settings and write it back to a file.

The yaml module also supports creation of yaml files from scratch.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen 2024-08-08 21:20:23 +02:00 committed by Anas Nashif
commit 105a4b5eb2
3 changed files with 424 additions and 0 deletions

View file

@ -82,6 +82,7 @@ list(APPEND zephyr_cmake_modules basic_settings)
list(APPEND zephyr_cmake_modules west)
list(APPEND zephyr_cmake_modules ccache)
list(APPEND zephyr_cmake_modules yaml)
# Load default root settings
list(APPEND zephyr_cmake_modules root)