diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-05-24 15:47:21 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-05-24 15:47:21 (GMT) |
commit | ad92f34fea4c565a3f6698c5bc620797be9c64fe (patch) | |
tree | 6e4c0228c3c668722db9c338305ddc033c721f8d /Source/MFCDialog/CMakeSetupDialog.cpp | |
parent | 4d036f44f5fd4cee2859b7a4bdf59411cd0c0124 (diff) | |
download | CMake-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.cpp | 4 |
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 } |