Merge branch 'fix/bin_names_with_dots_v5.1' into 'release/v5.1'

fix(build_system): Allow dots in the name of an app binary (backport v5.1)

See merge request espressif/esp-idf!25276
This commit is contained in:
Roland Dobai
2023-08-25 14:42:32 +08:00

View File

@@ -641,7 +641,7 @@ function(idf_build_executable elf)
# Set the EXECUTABLE_NAME and EXECUTABLE properties since there are generator expression
# from components that depend on it
get_filename_component(elf_name ${elf} NAME_WE)
get_filename_component(elf_name ${elf} NAME_WLE)
get_target_property(elf_dir ${elf} BINARY_DIR)
idf_build_set_property(EXECUTABLE_NAME ${elf_name})