Переглянути джерело

Merge branch 'fix/bin_names_with_dots' into 'master'

fix(build_system): Allow dots in the name of an app binary

Closes IDF-7973

See merge request espressif/esp-idf!25256
Roland Dobai 2 роки тому
батько
коміт
267e52a6db
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      tools/cmake/build.cmake

+ 1 - 1
tools/cmake/build.cmake

@@ -645,7 +645,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})