CLICOLOR_FORCE¶
在 3.5 版被加入.
這是一個 CMake 環境變數。其初始值取自呼叫的進程環境。
Set to a non-empty value, other than 0, to tell command-line
tools to print color messages even if not connected to a terminal.
This is a common convention among command-line tools in general.
See also the NO_COLOR and CLICOLOR environment variables.
If NO_COLOR is activated, it takes precedence over
CLICOLOR_FORCE. Otherwise, if CLICOLOR_FORCE is
activated, it takes precedence over CLICOLOR.
See the CMAKE_COLOR_DIAGNOSTICS variable to control
color in a generated build system.