summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-26 14:31:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-10-26 14:31:50 (GMT)
commitb3f1a292266099865e0896be9fd0d40803bda7e0 (patch)
treef980714bfb9d89063976be1446533ca216af80aa /Help
parentd67f47109c71503edfe5b9ff93333c9eff0b1f75 (diff)
parentfb95d022522c76375506bc974552a04ffd87fd23 (diff)
downloadCMake-b3f1a292266099865e0896be9fd0d40803bda7e0.zip
CMake-b3f1a292266099865e0896be9fd0d40803bda7e0.tar.gz
CMake-b3f1a292266099865e0896be9fd0d40803bda7e0.tar.bz2
Merge topic 'doc-CMAKE_BUILD_TYPE'
fb95d02252 Help: Document case insensitivity for CMAKE_BUILD_TYPE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5411
Diffstat (limited to 'Help')
-rw-r--r--Help/variable/CMAKE_BUILD_TYPE.rst5
1 files changed, 5 insertions, 0 deletions
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 <CMAKE_<LANG>_FLAGS_DEBUG>` settings get
added to the :variable:`CMAKE_C_FLAGS <CMAKE_<LANG>_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``.