[cmake-commits] hoffman committed CMakeSetupDialog.cpp 1.118 1.119
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Nov 29 15:59:18 EST 2006
Update of /cvsroot/CMake/CMake/Source/MFCDialog
In directory public:/mounts/ram/cvs-serv729/Source/MFCDialog
Modified Files:
CMakeSetupDialog.cpp
Log Message:
ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only use cmVersion
Index: CMakeSetupDialog.cpp
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/MFCDialog/CMakeSetupDialog.cpp,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- CMakeSetupDialog.cpp 20 Jun 2006 17:13:13 -0000 1.118
+++ CMakeSetupDialog.cpp 29 Nov 2006 20:59:16 -0000 1.119
@@ -7,6 +7,7 @@
#undef DEBUG
#include "CMakeSetup.h"
#include "MakeHelp.h"
+#include "cmVersion.h"
#include "PathDialog.h"
#include "CMakeSetupDialog.h"
#include "CMakeCommandLineInfo.h"
@@ -323,8 +324,9 @@
// Set the version number
char tmp[1024];
- sprintf(tmp,"CMake %d.%d - %s", cmake::GetMajorVersion(),
- cmake::GetMinorVersion(), cmake::GetReleaseVersion());
+ sprintf(tmp,"CMake %d.%d - %s", cmVersion::GetMajorVersion(),
+ cmVersion::GetMinorVersion(),
+ cmVersion::GetReleaseVersion().c_str());
SetDlgItemText(IDC_PROGRESS, "");
this->SetWindowText(tmp);
this->UpdateData(FALSE);
More information about the Cmake-commits
mailing list