summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/CMakeSetupDialog.cpp
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-04-26 18:53:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-04-26 18:53:44 (GMT)
commit2c1fb789d7a182ab0df53aad474a657d59d894b0 (patch)
tree3f4db8d752a6f3a218e92ad470efb97b5e7421c7 /Source/MFCDialog/CMakeSetupDialog.cpp
parent6e5af0e6ccbb0f2c0a4aec00003ea0ce68ea2f95 (diff)
downloadCMake-2c1fb789d7a182ab0df53aad474a657d59d894b0.zip
CMake-2c1fb789d7a182ab0df53aad474a657d59d894b0.tar.gz
CMake-2c1fb789d7a182ab0df53aad474a657d59d894b0.tar.bz2
ENH: add help for cache entries
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.cpp')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp
index 43cc58d..a191a5e 100644
--- a/Source/MFCDialog/CMakeSetupDialog.cpp
+++ b/Source/MFCDialog/CMakeSetupDialog.cpp
@@ -388,25 +388,33 @@ void CMakeSetupDialog::FillCacheGUIFromCacheManager()
{
m_CacheEntriesList.AddProperty(key,
"ON",
+ value.m_HelpString.c_str(),
CPropertyList::CHECKBOX,"");
}
else
{
m_CacheEntriesList.AddProperty(key,
"OFF",
+ value.m_HelpString.c_str(),
CPropertyList::CHECKBOX,"");
}
break;
case cmCacheManager::PATH:
- m_CacheEntriesList.AddProperty(key, value.m_Value.c_str(),
+ m_CacheEntriesList.AddProperty(key,
+ value.m_Value.c_str(),
+ value.m_HelpString.c_str(),
CPropertyList::PATH,"");
break;
case cmCacheManager::FILEPATH:
- m_CacheEntriesList.AddProperty(key, value.m_Value.c_str(),
+ m_CacheEntriesList.AddProperty(key,
+ value.m_Value.c_str(),
+ value.m_HelpString.c_str(),
CPropertyList::FILE,"");
break;
case cmCacheManager::STRING:
- m_CacheEntriesList.AddProperty(key, value.m_Value.c_str(),
+ m_CacheEntriesList.AddProperty(key,
+ value.m_Value.c_str(),
+ value.m_HelpString.c_str(),
CPropertyList::EDIT,"");
break;
case cmCacheManager::INTERNAL: