CMAKE_BUILD_TYPE ---------------- .. versionadded:: 3.22 .. include:: ENV_VAR.txt The ``CMAKE_BUILD_TYPE`` environment variable specifies a default value for the :variable:`CMAKE_BUILD_TYPE` variable when there is no explicit configuration given on the first run while creating a new build tree.