CTest: Support SARIF as an output format
Static Analysis Results Interchange Format (SARIF) is an industry standard format for the output of static analysis tools. However, format is useful for test tools too. It would be nice to support SARIF in CTest.
Resources:
- SARIF support in various tools, https://github.com/ligurio/sqa-wiki/wiki/support-SARIF
- ctest: support gcc
-fdiagnostics-format=json
and/or SARIF for less fragile extraction of warnings/errors, #23486