aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/ryml/CONTRIBUTING.md
blob: c8e847bfa20958538358811c5638ff54eac4729a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Contributing

Thanks for your contribution!

* Make sure to clone the project with `git clone --recursive` so that
  the submodules are initialized correctly.
* To enable both tests and benchmarks, configure ryml with `-DRYML_DEV=ON`
  when calling cmake. To enable only tests, use `-DRYML_BUILD_TESTS=ON`; to
  enable only benchmarks use `-DRYML_BUILD_BENCHMARKS=ON`. All these flags
  are disabled by default.
* Code style for pull requests should respect the existing code style:
    ```c++
    if(foo)  // no space before parens
    {   // curly brackets on next line
        // no tabs; indent with 4 spaces
        bar();
    }
    ```