It maybe not directly related, but usually people check native code with clang-format (this script) and cmake files with cmake-format. The tools have relatively similar interface and both of them don't support scanning folders :) While this scripts solves is for clang-format, it would be nice to have the similar wrapper on cmake-format.
Possible options:
Completely different script/repo
Integrate the possibility to run both tools from this script
I think latter will be useful for a lot of people, so there won't be the need to different wrappers and there can be one to rule them all.
I would first try to see if cmake-format cannot it himself, unlike clang-format, it is already coded in python, and the project is smaller, younger, so it's easier to add features to it.
It maybe not directly related, but usually people check native code with
clang-format
(this script) and cmake files withcmake-format
. The tools have relatively similar interface and both of them don't support scanning folders :) While this scripts solves is forclang-format
, it would be nice to have the similar wrapper oncmake-format
.Possible options:
I think latter will be useful for a lot of people, so there won't be the need to different wrappers and there can be one to rule them all.