diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-22 19:44:54 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-22 19:44:54 (GMT) |
commit | fc70a2bb2ae2c905c6fa9b6b8e6a0caa99ca3ee4 (patch) | |
tree | 38c00cbcf652d9319baf841a1ba3f8fd166b968d /Source/cmCTest.cxx | |
parent | f4a04a96eb57fc01b612b6af11b7e7ae66fc0cc4 (diff) | |
download | CMake-fc70a2bb2ae2c905c6fa9b6b8e6a0caa99ca3ee4.zip CMake-fc70a2bb2ae2c905c6fa9b6b8e6a0caa99ca3ee4.tar.gz CMake-fc70a2bb2ae2c905c6fa9b6b8e6a0caa99ca3ee4.tar.bz2 |
ENH: Add development version support in CMake
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index eb1a74f..f0cf6b4 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -33,6 +33,7 @@ #include "cmCTestConfigureHandler.h" #include "cmCTestSubmit.h" +#include "cmVersion.h" #include <cmsys/RegularExpression.hxx> #include <cmsys/Process.h> @@ -1064,7 +1065,8 @@ void cmCTest::StartXML(std::ostream& ostr) << "<Site BuildName=\"" << m_DartConfiguration["BuildName"] << "\" BuildStamp=\"" << m_CurrentTag << "-" << this->GetTestModelString() << "\" Name=\"" - << m_DartConfiguration["Site"] << "\" Generator=\"ctest-" << CMake_VERSION_FULL + << m_DartConfiguration["Site"] << "\" Generator=\"ctest" + << cmVersion::GetCMakeVersion() << "\">" << std::endl; } @@ -1080,7 +1082,8 @@ int cmCTest::GenerateDartNotesOutput(std::ostream& os, const cmCTest::tm_VectorO << "<?xml-stylesheet type=\"text/xsl\" href=\"Dart/Source/Server/XSL/Build.xsl <file:///Dart/Source/Server/XSL/Build.xsl> \"?>\n" << "<Site BuildName=\"" << m_DartConfiguration["BuildName"] << "\" BuildStamp=\"" << m_CurrentTag << "-" << this->GetTestModelString() << "\" Name=\"" - << m_DartConfiguration["Site"] << "\" Generator=\"ctest-" << CMake_VERSION_FULL + << m_DartConfiguration["Site"] << "\" Generator=\"ctest" + << cmVersion::GetCMakeVersion() << "\">\n" << "<Notes>" << std::endl; |