actually adds linker map to test cases
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user