Merge topic 'ctest-report-compiler-version'
48c6e7f2 CTest: Report to CDash the compiler version used to build the project
This commit is contained in:
commit
6731eab90c
@ -69,6 +69,7 @@ UpdateType: @UPDATE_TYPE@
|
|||||||
|
|
||||||
# Compiler info
|
# Compiler info
|
||||||
Compiler: @CMAKE_CXX_COMPILER@
|
Compiler: @CMAKE_CXX_COMPILER@
|
||||||
|
CompilerVersion: @CMAKE_CXX_COMPILER_VERSION@
|
||||||
|
|
||||||
# Dynamic analysis (MemCheck)
|
# Dynamic analysis (MemCheck)
|
||||||
PurifyCommand: @PURIFYCOMMAND@
|
PurifyCommand: @PURIFYCOMMAND@
|
||||||
|
@ -1546,9 +1546,8 @@ void cmCTest::StartXML(cmXMLWriter& xml, bool append)
|
|||||||
xml.Attribute("Append", "true");
|
xml.Attribute("Append", "true");
|
||||||
}
|
}
|
||||||
xml.Attribute("CompilerName", this->GetCTestConfiguration("Compiler"));
|
xml.Attribute("CompilerName", this->GetCTestConfiguration("Compiler"));
|
||||||
#ifdef _COMPILER_VERSION
|
xml.Attribute("CompilerVersion",
|
||||||
xml.Attribute("CompilerVersion", _COMPILER_VERSION);
|
this->GetCTestConfiguration("CompilerVersion"));
|
||||||
#endif
|
|
||||||
xml.Attribute("OSName", info.GetOSName());
|
xml.Attribute("OSName", info.GetOSName());
|
||||||
xml.Attribute("Hostname", info.GetHostname());
|
xml.Attribute("Hostname", info.GetHostname());
|
||||||
xml.Attribute("OSRelease", info.GetOSRelease());
|
xml.Attribute("OSRelease", info.GetOSRelease());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user