mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
CONTRIBUTING: Add a section on coding style
Document that we now define our coding style with `clang-format`.
This commit is contained in:
1 parent
bf451d9ff9
commit
6a13f43f30
1 file changed
+10
@@ -23,6 +23,16 @@ Please base all new work on the ``master`` branch. Then use
|
||||
``git format-patch`` to produce patches suitable to post to
|
||||
the mailing list.
|
||||
|
||||
Code Style
|
||||
==========
|
||||
|
||||
We use `clang-format`_ to define our style for C++ code in the CMake source
|
||||
tree. See the `.clang-format`_ configuration file for our style settings.
|
||||
Use ``clang-format`` version 3.8 or higher to format source files.
|
||||
|
||||
.. _`clang-format`: http://clang.llvm.org/docs/ClangFormat.html
|
||||
.. _`.clang-format`: .clang-format
|
||||
|
||||
License
|
||||
=======
|
||||
|
||||
|
||||
Reference in new issue
Block a user