diff options
author | Brad King <brad.king@kitware.com> | 2021-06-29 17:34:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-30 14:55:40 (GMT) |
commit | e216b9bbd331e77e59634690a2be98f087acaf2c (patch) | |
tree | bbbb4bc6d552751772045ad3993dba2ba70b8536 /Help/manual/cmake-env-variables.7.rst | |
parent | 6986a382a912f4b982f4b20a6e04ff1d773ef1eb (diff) | |
download | CMake-e216b9bbd331e77e59634690a2be98f087acaf2c.zip CMake-e216b9bbd331e77e59634690a2be98f087acaf2c.tar.gz CMake-e216b9bbd331e77e59634690a2be98f087acaf2c.tar.bz2 |
cmake: Allow CMAKE_BUILD_TYPE to be set by environment variable
When no `CMAKE_BUILD_TYPE` is explicitly specified while creating a new
build tree, check for an environment variable of the same name.
Issue: #20983
Diffstat (limited to 'Help/manual/cmake-env-variables.7.rst')
-rw-r--r-- | Help/manual/cmake-env-variables.7.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/manual/cmake-env-variables.7.rst b/Help/manual/cmake-env-variables.7.rst index fa38588..ab974a0 100644 --- a/Help/manual/cmake-env-variables.7.rst +++ b/Help/manual/cmake-env-variables.7.rst @@ -30,6 +30,7 @@ Environment Variables that Control the Build /envvar/CMAKE_APPLE_SILICON_PROCESSOR /envvar/CMAKE_BUILD_PARALLEL_LEVEL + /envvar/CMAKE_BUILD_TYPE /envvar/CMAKE_CONFIG_TYPE /envvar/CMAKE_EXPORT_COMPILE_COMMANDS /envvar/CMAKE_GENERATOR |