The previous version of target_clang_tidy only provided ENABLE and ARGUMENTS where the user must provide the full argument list to be provided. This made it not possible to easily reuse individual clang-tidy arguments. This exposes additions single argument keywords for --header-filter, --line-filter, --checks, --warnings-as-errors, and --config along with creating a new variable DEFAULT_CLANG_TIDY_CHECKS making it easier to reuse this argument and provided custom filters. This does not break existing code as the multi-argument keywords ARGUMENTS still is available and can be used.
The previous version of target_clang_tidy only provided ENABLE and ARGUMENTS where the user must provide the full argument list to be provided. This made it not possible to easily reuse individual clang-tidy arguments. This exposes additions single argument keywords for --header-filter, --line-filter, --checks, --warnings-as-errors, and --config along with creating a new variable DEFAULT_CLANG_TIDY_CHECKS making it easier to reuse this argument and provided custom filters. This does not break existing code as the multi-argument keywords ARGUMENTS still is available and can be used.