CMAKE_COLOR_DIAGNOSTICS

在 3.24 版被加入.

This is a CMake Environment Variable. Its initial value is taken from the calling process environment.

Specifies a default value for the CMAKE_COLOR_DIAGNOSTICS variable when there is no explicit value given on the first run.