summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-12 13:30:29 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-08-12 13:30:29 (GMT)
commit6731eab90cbd692d0e5d98df6db6da0ffd69a881 (patch)
treec22353458f83940d319f9930057a29f3ff2d41fb /Source
parent7216742ea61bd8853cf490d7605c6c7c0cffe187 (diff)
parent48c6e7f2cfc95fc851cf9711d9588f3498e647c4 (diff)
downloadCMake-6731eab90cbd692d0e5d98df6db6da0ffd69a881.zip
CMake-6731eab90cbd692d0e5d98df6db6da0ffd69a881.tar.gz
CMake-6731eab90cbd692d0e5d98df6db6da0ffd69a881.tar.bz2
Merge topic 'ctest-report-compiler-version'
48c6e7f2 CTest: Report to CDash the compiler version used to build the project
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCTest.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index f65bd29..b976469 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1546,9 +1546,8 @@ void cmCTest::StartXML(cmXMLWriter& xml, bool append)
xml.Attribute("Append", "true");
}
xml.Attribute("CompilerName", this->GetCTestConfiguration("Compiler"));
-#ifdef _COMPILER_VERSION
- xml.Attribute("CompilerVersion", _COMPILER_VERSION);
-#endif
+ xml.Attribute("CompilerVersion",
+ this->GetCTestConfiguration("CompilerVersion"));
xml.Attribute("OSName", info.GetOSName());
xml.Attribute("Hostname", info.GetHostname());
xml.Attribute("OSRelease", info.GetOSRelease());