CLICOLOR

在 3.21 版被加入.

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

Set to 0 to tell command-line tools not to print color messages even if connected to a terminal. This is a common convention among command-line tools in general.

See also the NO_COLOR and CLICOLOR_FORCE environment variables. If either of them is activated, it takes precedence over CLICOLOR.

See the CMAKE_COLOR_DIAGNOSTICS variable to control color in a generated build system.