Browse Source

Merge topic '16917-c-compiler-version-variable-hint'

7a9a1e04 Help: Add a hint about C and C++ compiler version variable

Acked-by: Kitware Robot <[email protected]>
Merge-request: !902
Brad King 8 years ago
parent
commit
7bd63e4d6d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Help/variable/CMAKE_LANG_COMPILER_VERSION.rst

+ 4 - 0
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.