cmake: allow appending dependencies to report targets
To facilitate extending the generated reports without having to patch this file, leverage generator-expression so that dependencies can be added to the 'zephyr_property_target' target. Signed-off-by: Håkon Øye Amundsen <haakon.amundsen@nordicsemi.no>
This commit is contained in:
parent
25769e3fff
commit
995e3676f3
|
@ -14,5 +14,6 @@ foreach(report ram_report rom_report)
|
|||
--nm ${CMAKE_NM}
|
||||
-o ${PROJECT_BINARY_DIR}
|
||||
DEPENDS ${logical_target_for_zephyr_elf}
|
||||
$<TARGET_PROPERTY:zephyr_property_target,${report}_DEPENDENCIES>
|
||||
)
|
||||
endforeach()
|
||||
|
|
Loading…
Reference in New Issue