Mention BUILD.bazel in contributing docs for CATCH_CONFIG*

This commit is contained in:
Martin Hořeňovský 2022-11-12 22:08:15 +01:00
parent 1cd86c09a2
commit 6aa56c70e2
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
1 changed files with 2 additions and 0 deletions

View File

@ -311,6 +311,8 @@ When adding new `CATCH_CONFIG` option, there are multiple places to edit:
* `docs/configuration.md` - this is where the options are documented
* `src/catch2/catch_user_config.hpp.in` - this is template for generating
`catch_user_config.hpp` which contains the materialized configuration
* `BUILD.bazel` - Bazel does not have configuration support like CMake,
and all expansions need to be done manually
* other files as needed, e.g. `catch2/internal/catch_config_foo.hpp`
for the logic that guards the configuration