mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only use cmVersion
This commit is contained in:
@@ -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 @@ BOOL CMakeSetupDialog::OnInitDialog()
|
||||
|
||||
// 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);
|
||||
|
||||
Reference in New Issue
Block a user