summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-26 23:28:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-26 23:28:27 (GMT)
commiteecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0 (patch)
treeb363ca85f505b2cd720700bcb71fa47f45459346 /Source/cmCacheManager.cxx
parent3e24edcd04234c20a5c3045a7af9ff482fd61a45 (diff)
downloadCMake-eecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0.zip
CMake-eecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0.tar.gz
CMake-eecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0.tar.bz2
ENH: add advanced variable types and command line wizard gui
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index a5300b9..c3af5e4 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -524,3 +524,13 @@ void cmCacheManager::AddCacheEntry(const char* key, bool v,
}
}
+bool cmCacheManager::IsAdvanced(const char* key)
+{
+ std::string advancedVar = key;
+ advancedVar += "-ADVANCED";
+ if(cmCacheManager::GetInstance()->GetCacheEntry(advancedVar.c_str()))
+ {
+ return true;
+ }
+ return false;
+}