summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2017-05-28 18:16:31 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2017-05-28 18:19:53 (GMT)
commit7a9a1e04530a7b4ae8fc8fa0bbe8ae1da67fa7f2 (patch)
tree4af536f497a9ba941c3580a6f05e766442b491fc /Help
parentd375618921e16c229e748c87ea16190f2de74337 (diff)
downloadCMake-7a9a1e04530a7b4ae8fc8fa0bbe8ae1da67fa7f2.zip
CMake-7a9a1e04530a7b4ae8fc8fa0bbe8ae1da67fa7f2.tar.gz
CMake-7a9a1e04530a7b4ae8fc8fa0bbe8ae1da67fa7f2.tar.bz2
Help: Add a hint about C and C++ compiler version variable
Closes #16917
Diffstat (limited to 'Help')
-rw-r--r--Help/variable/CMAKE_LANG_COMPILER_VERSION.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_LANG_COMPILER_VERSION.rst b/Help/variable/CMAKE_LANG_COMPILER_VERSION.rst
index 50e77eb..27b0cad 100644
--- a/Help/variable/CMAKE_LANG_COMPILER_VERSION.rst
+++ b/Help/variable/CMAKE_LANG_COMPILER_VERSION.rst
@@ -6,3 +6,7 @@ Compiler version string.
Compiler version in major[.minor[.patch[.tweak]]] format. This
variable is not guaranteed to be defined for all compilers or
languages.
+
+For example ``CMAKE_C_COMPILER_VERSION`` and
+``CMAKE_CXX_COMPILER_VERSION`` might indicate the respective C and C++
+compiler version.