mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(cmakev2/build): rename FILE to OUTPUT_FILE option for idf_build_generate_metadata
All other functions, such as idf_build_binary, use OUTPUT_FILE. This is more descriptive and provides more flexibility to add additional file-related options in the future if necessary. Make idf_build_generate_metadata consistent with the other function interfaces by using OUTPUT_FILE. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
@@ -210,9 +210,9 @@ endfunction()
|
||||
function(test_executable)
|
||||
idf_build_get_property(build_dir BUILD_DIR)
|
||||
idf_build_executable(fatfs_example COMPONENTS fatfs_example)
|
||||
idf_build_generate_metadata(fatfs_example FILE "${build_dir}/project_description_fatfs.json")
|
||||
idf_build_generate_metadata(fatfs_example OUTPUT_FILE project_description_fatfs.json)
|
||||
idf_build_executable(hello_world_example COMPONENTS hello_world_example)
|
||||
idf_build_generate_metadata(hello_world_example FILE "${build_dir}/project_description_hello_world.json")
|
||||
idf_build_generate_metadata(hello_world_example OUTPUT_FILE project_description_hello_world.json)
|
||||
endfunction()
|
||||
|
||||
# Run tests
|
||||
|
||||
Reference in New Issue
Block a user