CONTRIBUTING.md: add C style / cmake-format notes

Change-Id: I54ad0e27341025a6385a736d5a79ab8b6556a6ec
This commit is contained in:
James Zern 2023-05-30 12:23:04 -07:00
parent dd530437f6
commit ff6c7f4e71

View File

@ -60,6 +60,18 @@ See the
[WebM Project page](https://www.webmproject.org/code/contribute/submitting-patches/)
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
This project follows