Set executable suffix in CMake

pull/14204/head
Jamie Smith 2021-01-27 15:53:56 -08:00
parent 0c6753bb82
commit 068358d8d6
1 changed files with 4 additions and 0 deletions

View File

@ -19,3 +19,7 @@ endif()
include(${MBED_PATH}/tools/cmake/profile.cmake)
enable_language(C CXX ASM)
# set executable suffix (has to be done after enabling languages)
# Note: This is nice to have, but is also required because STM32Cube will only work on files with a .elf extension
set(CMAKE_EXECUTABLE_SUFFIX .elf)