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/CTest/cmCTestUpdateHandler.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/CTest/cmCTestUpdateHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index 11792d1..3972918 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -22,6 +22,7 @@ #include "cmMakefile.h" #include "cmLocalGenerator.h" #include "cmGlobalGenerator.h" +#include "cmVersion.h" //#include <cmsys/RegularExpression.hxx> #include <cmsys/Process.h> @@ -122,7 +123,8 @@ int cmCTestUpdateHandler::UpdateDirectory(cmCTest *ctest_inst) } os << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" - << "<Update mode=\"Client\" Generator=\"ctest-" << CMake_VERSION_FULL << "\">\n" + << "<Update mode=\"Client\" Generator=\"ctest-" + << cmVersion::GetCMakeVersion() << "\">\n" << "\t<Site>" << m_CTest->GetDartConfiguration("Site") << "</Site>\n" << "\t<BuildName>" << m_CTest->GetDartConfiguration("BuildName") << "</BuildName>\n" |