summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-01-17 21:22:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-01-17 21:22:53 (GMT)
commit4dd47eb6c394c54bde00ebd0d99a8c01c7128b9f (patch)
treed82076ceed295758065dba3a8091bfa482bc0c22 /Source
parentd9d24e2196a76dc6606d5972d382467c010c9f4e (diff)
parent0df1942a72f1e67c88f0d02dc405fbd76793347a (diff)
downloadCMake-4dd47eb6c394c54bde00ebd0d99a8c01c7128b9f.zip
CMake-4dd47eb6c394c54bde00ebd0d99a8c01c7128b9f.tar.gz
CMake-4dd47eb6c394c54bde00ebd0d99a8c01c7128b9f.tar.bz2
Merge topic 'compiler-version'
0df1942 Detect SGI MIPSpro compiler version with its id a5e892c Document compiler version macro formats used for detection d7c6f41 Detect HP compiler version with its id 3dd9fa9 Detect SunPro compiler version with its id c198730 Detect Watcom compiler version with its id 5899b98 Detect Clang compiler version with its id b8cfa65 Detect PGI compiler version with its id 6dae666 Detect IBM XL compiler version with its id 4080d55 Detect Borland compiler version with its id 2cc205a Detect Intel compiler version with its id (#11937) a6d83cc Detect MSVC compiler version with its id a662855 Detect GNU compiler version with its id (#6251) fa7141f Add framework to detect compiler version with its id (#12408)
Diffstat (limited to 'Source')
-rw-r--r--Source/cmDocumentVariables.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index fe29df9..687debc 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -1301,6 +1301,15 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
"Variables for Languages");
cm->DefineProperty
+ ("CMAKE_<LANG>_COMPILER_VERSION", cmProperty::VARIABLE,
+ "An internal variable subject to change.",
+ "Compiler version in major[.minor[.patch[.tweak]]] format. "
+ "This variable is reserved for internal use by CMake and is not "
+ "guaranteed to be set.",
+ false,
+ "Variables for Languages");
+
+ cm->DefineProperty
("CMAKE_INTERNAL_PLATFORM_ABI", cmProperty::VARIABLE,
"An internal variable subject to change.",
"This is used in determining the compiler ABI and is subject to change.",