actually adds linker map to test cases

This commit is contained in:
2026-06-14 14:01:30 +02:00
parent b232f133ac
commit 47e15e1eb9
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -81,6 +81,7 @@ function(setup_target TARGET)
endif() endif()
target_link_options(${TARGET} PRIVATE target_link_options(${TARGET} PRIVATE
-T ${TARGET_MEM}.lds
-Wl,-Map=${CMAKE_BINARY_DIR}/${TARGET}.map) -Wl,-Map=${CMAKE_BINARY_DIR}/${TARGET}.map)
add_custom_command(TARGET ${TARGET} POST_BUILD add_custom_command(TARGET ${TARGET} POST_BUILD
+1
View File
@@ -83,6 +83,7 @@ function(setup_target TARGET)
endif() endif()
target_link_options(${TARGET} PRIVATE target_link_options(${TARGET} PRIVATE
-T ${TARGET_MEM}.lds
-Wl,-Map=${CMAKE_BINARY_DIR}/${TARGET}.map) -Wl,-Map=${CMAKE_BINARY_DIR}/${TARGET}.map)
add_custom_command(TARGET ${TARGET} POST_BUILD add_custom_command(TARGET ${TARGET} POST_BUILD