build: Indent cmake consistently#7345
Conversation
echoix
left a comment
There was a problem hiding this comment.
Was this done manually or with a script? With a script, a tool, or linter, that could be run in pre-commit, it would prevent these kind of disreptencies to be created in the future.
The tool me and @nilason knows of isn't quite perfect (hard to configure to get something pleasant to read in all cases, and isn't creating potential merge conflicts easily) and we waited to have finished the initial implementation before formatting everything with a chosen style.
|
FTR: for QField we use https://github.com/cheshirekow/cmake-format-precommit |
Thanks for the reference, we should consider this soon |
This PR applies consistent indentation to a cmake file.