[cmake-developers] Code style auto-formatting

Brad King brad.king at kitware.com
Thu Nov 19 09:26:49 EST 2015


On 11/19/2015 09:22 AM, Robert Dailey wrote:
> Tonight I will do some testing and submit a patch + example files
> converted to the style Brad suggested. We can fine-tune it as needed.

Rather than a patch please work on a script to perform the conversion.
Then at any time we can choose to run the script as the one-shot conversion
and commit as a robot user.  Any sweeping patch would be too big to
post to the list anyway.  Ideally the script should be simple enough
to cut-n-paste into a shell so we can just record it in the commit
message.

See this commit for an example of this approach:

 https://cmake.org/gitweb?p=cmake.git;a=commit;h=7bbaa428

Thanks,
-Brad



More information about the cmake-developers mailing list