summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/CMakeSetupDialog.cpp
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-24 15:47:21 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-24 15:47:21 (GMT)
commitad92f34fea4c565a3f6698c5bc620797be9c64fe (patch)
tree6e4c0228c3c668722db9c338305ddc033c721f8d /Source/MFCDialog/CMakeSetupDialog.cpp
parent4d036f44f5fd4cee2859b7a4bdf59411cd0c0124 (diff)
downloadCMake-ad92f34fea4c565a3f6698c5bc620797be9c64fe.zip
CMake-ad92f34fea4c565a3f6698c5bc620797be9c64fe.tar.gz
CMake-ad92f34fea4c565a3f6698c5bc620797be9c64fe.tar.bz2
added version number
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.cpp')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index 419024b..c93e652 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -137,6 +137,10 @@ BOOL CMakeSetupDialog::OnInitDialog()
this->LoadFromRegistry();
// try to load the cmake cache from disk
this->LoadCacheFromDiskToGUI();
+ // Set the version number
+ char tmp[1024];
+ sprintf(tmp,"Version %s", cmMakefile::GetVersion());
+ SetDlgItemText(IDC_CMAKE_VERSION, tmp);
return TRUE; // return TRUE unless you set the focus to a control
}