Skip to content

Commit

Permalink
build: Fix missing executable suffix
Browse files Browse the repository at this point in the history
Add missing PARENT_SCOPE to root folder CMakeLists.txt.
It is needed as the entry point is the application/<example>.

Signed-off-by: Gabor Abonyi <[email protected]>
  • Loading branch information
GaborAbonyi authored and urutva committed Feb 25, 2024
1 parent 2e8a8c1 commit e23bc55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "The build type" FORCE)
endif()

set(CMAKE_EXECUTABLE_SUFFIX ".axf")
set(CMAKE_EXECUTABLE_SUFFIX ".axf" PARENT_SCOPE)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON PARENT_SCOPE)

add_subdirectory(bsp)
add_subdirectory(components EXCLUDE_FROM_ALL)

0 comments on commit e23bc55

Please sign in to comment.