CTEST_BUILD_NAME
From Get docs
Cmake/docs/3.21/variable/ctest build name
CTEST_BUILD_NAME
New in version 3.1.
Specify the CTest BuildName
setting in a ctest(1) dashboard client script.
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CTEST_BUILD_NAME.html