Well, I don't really mind how it is implemented. During compilation, or as
a separate target, but it would be a nice feature.

On Sun, Nov 13, 2016 at 11:08 PM, Patrick Boettcher <
patrick.boettc...@posteo.de> wrote:

> Hi,
>
> On Mon, 7 Nov 2016 12:06:15 -0800
> Tiago Macarios <tiagomacar...@gmail.com> wrote:
> > CMake has "built-in" support for clang_tidy and include-what-you-use.
> > I was wondering why there is not support for clang_format. No one ever
> > contributed, or people think this should not be part of CMake?
>
> First thought which came to my mind when reading your mail was that no
> automatic tool should change (source-)files during compilation which
> are, possibly, opened in an editor.
>
> But, it would, maybe, be nice to have a custom, optional target to run
> it on demand.
>
> If your editor supports it (mine does, even for selected code-lines, \o/
> ) integrate clang-format as source-code-indentation-tool.
>
> regards
> --
> Patrick.
>
>
>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to