Lines Matching refs:FILE
106 # yaml_create(NAME <name> [FILE <file>])
116 # FILE <file>: Path to file to be used together with this YAML context.
119 cmake_parse_arguments(ARG_YAML "" "FILE;NAME" "" ${ARGN})
126 zephyr_set(FILE ${ARG_YAML_FILE} SCOPE ${ARG_YAML_NAME})
132 # yaml_load(FILE <file> NAME <name>)
139 # FILE <file>: Path to file to load.
143 cmake_parse_arguments(ARG_YAML "" "FILE;NAME" "" ${ARGN})
145 zephyr_check_arguments_required_all(${CMAKE_CURRENT_FUNCTION} ARG_YAML FILE NAME)
149 zephyr_set(FILE ${ARG_YAML_FILE} SCOPE ${ARG_YAML_NAME})
346 # yaml_save(NAME <name> [FILE <file>])
352 # FILE <file>: Path to file to write the context.
353 # If not given, then the FILE property of the YAML context will be
354 # used. In case both FILE is omitted and FILE property is missing
358 cmake_parse_arguments(ARG_YAML "" "NAME;FILE" "" ${ARGN})
363 zephyr_get_scoped(yaml_file ${ARG_YAML_NAME} FILE)
365 zephyr_check_arguments_required(${CMAKE_CURRENT_FUNCTION} ARG_YAML FILE)
374 zephyr_get_scoped(yaml_file ${ARG_YAML_NAME} FILE)
377 FILE(RENAME ${yaml_file} ${yaml_file}.bak)
379 FILE(WRITE ${yaml_file} "${yaml_out}")