From fb95d022522c76375506bc974552a04ffd87fd23 Mon Sep 17 00:00:00 2001 From: Christopher Tetreault Date: Thu, 22 Oct 2020 14:04:39 -0700 Subject: Help: Document case insensitivity for CMAKE_BUILD_TYPE The value of CMAKE_BUILD_TYPE is case insensitive. Furthermore, the actual value of the variable will have the same casing as the user specifies on the command line. --- Help/variable/CMAKE_BUILD_TYPE.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Help/variable/CMAKE_BUILD_TYPE.rst b/Help/variable/CMAKE_BUILD_TYPE.rst index 2d35635..405f7d5 100644 --- a/Help/variable/CMAKE_BUILD_TYPE.rst +++ b/Help/variable/CMAKE_BUILD_TYPE.rst @@ -18,3 +18,8 @@ in a build tree configured to build type ``Debug``, CMake will see to having :variable:`CMAKE_C_FLAGS_DEBUG _FLAGS_DEBUG>` settings get added to the :variable:`CMAKE_C_FLAGS _FLAGS>` settings. See also :variable:`CMAKE_CONFIGURATION_TYPES`. + +Note that configuration names are case-insensitive. The value of this +variable will be the same as it is specified when invoking CMake. +For instance, if ``-DCMAKE_BUILD_TYPE=ReLeAsE`` is specified, then the +value of ``CMAKE_BUILD_TYPE`` will be ``ReLeAsE``. -- cgit v0.12