CMAKE_COLOR_DIAGNOSTICS

在 3.24 版被加入.

這是一個 CMake 環境變數。其初始值取自呼叫的進程環境。

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