TI toolchain: Location of .map file changed since CMake 3.18.0
In !4422 (merged), commit 5a0fc683, the value of CMAKE_C_LINK_EXECUTABLE
changed from specifying --map_file=<TARGET>.map
to --map_file=<TARGET_NAME>.map
. The effect of this is that when the target has its output directory specified, the .map
file no longer honors that and always gets written out to ${CMAKE_CURRENT_BINARY_DIR}
instead of the same directory as the target's executable. This broke a project I'm currently updating from using CMake 3.17.