CMAKE_BUILD_TYPE

在 3.22 版被加入.

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

The CMAKE_BUILD_TYPE environment variable specifies a default value for the CMAKE_BUILD_TYPE variable when there is no explicit configuration given on the first run while creating a new build tree.