[cmake-developers] Two pull requests

Eric Noulard eric.noulard at gmail.com
Thu Mar 1 15:45:36 EST 2012


2012/3/1 Brad King <brad.king at kitware.com>:
> On 3/1/2012 10:47 AM, Eric Noulard wrote:
>>
>> Last time I tried to enable KWStyle hooks following this:
>> http://www.cmake.org/Wiki/Git/Hooks#Setup
>
>
> That page is generic for many of Kitware's projects and
> is not specific to CMake.  The same hooks are also used
> for ITK.  For a while the kwstyle and uncrustify hooks
> were added and used by ITK.  Later they were moved over
> to ITK proper and are now invoked through the generic
> hooks' chaining feature.  They no longer exist in the
> generic hooks outright.  I removed the discussion of
> them from the wiki page.
>
> I'm not a big fan of automatic code formatting and
> layout tools.  There are almost always exceptions and
> special cases.  I'd rather cover that during code review.

Yes I agree with that but may be using them as pre-commit
"warning" on changed files may be interesting.

Nevertheless checking for no more than 79 column style
certainly does not require such tool.

-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org



More information about the cmake-developers mailing list