From 7a9a1e04530a7b4ae8fc8fa0bbe8ae1da67fa7f2 Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Sun, 28 May 2017 20:16:31 +0200 Subject: Help: Add a hint about C and C++ compiler version variable Closes #16917 --- Help/variable/CMAKE_LANG_COMPILER_VERSION.rst | 4 ++++ 1 file changed, 4 insertions(+) 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. -- cgit v0.12