summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-30 13:25:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-05-30 13:26:20 (GMT)
commit7bd63e4d6d700e1d2c69034b97d54ba941a600ba (patch)
tree857c59f7cfb897900317fc0d686c8081d713148e
parent3ed14cb3ac03e7df53b9f9f987d5180e74dc2b64 (diff)
parent7a9a1e04530a7b4ae8fc8fa0bbe8ae1da67fa7f2 (diff)
downloadCMake-7bd63e4d6d700e1d2c69034b97d54ba941a600ba.zip
CMake-7bd63e4d6d700e1d2c69034b97d54ba941a600ba.tar.gz
CMake-7bd63e4d6d700e1d2c69034b97d54ba941a600ba.tar.bz2
Merge topic '16917-c-compiler-version-variable-hint'
7a9a1e04 Help: Add a hint about C and C++ compiler version variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !902
-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.