[runtimes] Generalize how we reorder projects
authorLouis Dionne <ldionne.2@gmail.com>
Fri, 6 May 2022 19:43:18 +0000 (15:43 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Mon, 16 May 2022 12:55:32 +0000 (08:55 -0400)
commit06400a0142af8297b5d39b8f34a7c59db6f9910c
tree0820dcf0cd74393c670a456e8380d342931a6019
parentd95513ae3a73388cbe18fa1bd2c76fec70f3ec06
[runtimes] Generalize how we reorder projects

This way, we could use it for LLVM_ENABLE_PROJECTS too if desired.

Differential Revision: https://reviews.llvm.org/D125121
cmake/Modules/SortSubset.cmake [new file with mode: 0644]
runtimes/CMakeLists.txt