jrl-umi3218 / jrl-cmakemodules

CMake utility toolbox
https://jrl-cmakemodules.readthedocs.io/en/master/
Other
61 stars 47 forks source link

Switch from dead cmake-format project to `gersemi` for CMake formatting #719

Closed ManifoldFR closed 1 month ago

ManifoldFR commented 1 month ago

The CMake formatter we use here (and in our other projects) is cmake-format, which hasn't been updated in over 3.5 years (last commit in May 2021). It seems the author abandoned it entirely, many PRs are still open and there has been discussion about having a successor fork on some issues e.g. https://github.com/cheshirekow/cmake_format/issues/340

The linked issue suggests using this project: https://github.com/BlankSpruce/gersemi. Here's what I see is good here: