CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS

From Get docs
Cmake/docs/3.21/variable/ctest custom maximum number of warnings


CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS

The maximum number of warnings in a single build step which will be detected. After this, the ctest_test() command will truncate the output. Defaults to 50.

It is initialized by ctest(1), but may be edited in a CTestCustom file. See ctest_read_custom_files() documentation.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS.html