Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: extensions: Add zephyr_topological_sort()
This function performs topological sorting of CMake targets. Its initial use case in Zephyr will be for implementing sysbuild image dependencies, i.e., specifying an image order for CMake configuration and flashing. Sourced from a comment on PR #57884 (anchor: #discussion_r1206807021) Authored-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
- Loading branch information
1 parent
35479cc
commit 6c2ad89
Showing
1 changed file
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters