summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-29 20:58:16 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-30 14:55:40 (GMT)
commitef56eefc9bb9ae0ad23c80c01a3e15086dcf207e (patch)
tree274a1fe332a115cc18061c7c026e367a75c63226 /Help/release
parente216b9bbd331e77e59634690a2be98f087acaf2c (diff)
downloadCMake-ef56eefc9bb9ae0ad23c80c01a3e15086dcf207e.zip
CMake-ef56eefc9bb9ae0ad23c80c01a3e15086dcf207e.tar.gz
CMake-ef56eefc9bb9ae0ad23c80c01a3e15086dcf207e.tar.bz2
cmake: Allow CMAKE_CONFIGURATION_TYPES to be set by environment variable
When no `CMAKE_CONFIGURATION_TYPES` is explicitly specified while creating a new build tree, check for an environment variable of the same name. Issue: #20983
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/env-init-configs.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/release/dev/env-init-configs.rst b/Help/release/dev/env-init-configs.rst
index fe334b7..5c9892d 100644
--- a/Help/release/dev/env-init-configs.rst
+++ b/Help/release/dev/env-init-configs.rst
@@ -3,3 +3,7 @@ env-init-configs
* The :envvar:`CMAKE_BUILD_TYPE` environment variable was added to
provide a default value for the :variable:`CMAKE_BUILD_TYPE` variable.
+
+* The :envvar:`CMAKE_CONFIGURATION_TYPES` environment variable was added to
+ provide a default value for the :variable:`CMAKE_CONFIGURATION_TYPES`
+ variable.