mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
CONTRIBUTING.md: add C style / cmake-format notes
Change-Id: I54ad0e27341025a6385a736d5a79ab8b6556a6ec
This commit is contained in:
parent
dd530437f6
commit
ff6c7f4e71
@ -60,6 +60,18 @@ See the
|
|||||||
[WebM Project page](https://www.webmproject.org/code/contribute/submitting-patches/)
|
[WebM Project page](https://www.webmproject.org/code/contribute/submitting-patches/)
|
||||||
for additional details.
|
for additional details.
|
||||||
|
|
||||||
|
## Code Style
|
||||||
|
|
||||||
|
The C code style is based on the
|
||||||
|
[Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html) and
|
||||||
|
`clang-format --style=Google`, though this project doesn't use the tool to
|
||||||
|
enforce the formatting.
|
||||||
|
|
||||||
|
CMake files are formatted with
|
||||||
|
[cmake-format](https://cmake-format.readthedocs.io/en/latest/). `cmake-format
|
||||||
|
-i` can be used to format individual files, it will use the settings from
|
||||||
|
`.cmake-format.py`.
|
||||||
|
|
||||||
## Community Guidelines
|
## Community Guidelines
|
||||||
|
|
||||||
This project follows
|
This project follows
|
||||||
|
Loading…
Reference in New Issue
Block a user