run auto-formatter over cmakelists.txt #619
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "mueller/amft-cmakelists"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Run
clion
CMake auto-formatter over theCMakeLists.txt
fileCan you add that to the auto format script?
I guess the problem is that clion is not open source and thus would be a bad dependency imho.
It also seems there is no "standard" formatter for cmake.
I just tried cmakelang (available via pip) and it produces similar but different output.
We could use this as an open source tool or just depend on one developer running clion from time to time...
I don' think
clang-tidy
can do this. I like the idea usingcmakelang
instead of relying on a propriertary tool. I might give it a tryI ran
cmake-format
and I am happy with the outputI will add the
clang-format
call to the auto-formatter scriptGreat! LGTM