summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-04-25 20:09:17 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-04-25 20:09:17 (GMT)
commit5c83326fb43296bec07fe084497f8b3ea5b05e88 (patch)
tree6867026ecfa8bfd5f0ac8654acd275cdc4f768bb /Source/cmCacheManager.h
parent61091234c37ebd104885418809a718910361e4ff (diff)
downloadCMake-5c83326fb43296bec07fe084497f8b3ea5b05e88.zip
CMake-5c83326fb43296bec07fe084497f8b3ea5b05e88.tar.gz
CMake-5c83326fb43296bec07fe084497f8b3ea5b05e88.tar.bz2
ENH: clean up cmake GUI and remove the parsing of CMakeLists.txt files by configure
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r--Source/cmCacheManager.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h
index 01bf98b..dd313bd 100644
--- a/Source/cmCacheManager.h
+++ b/Source/cmCacheManager.h
@@ -50,10 +50,14 @@ public:
//! Load a cache for given makefile. Loads from ouput home.
- bool LoadCache(cmMakefile*);
+ bool LoadCache(cmMakefile*);
+ //! Load a cache for given makefile. Loads from path/CMakeCache.txt.
+ bool LoadCache(const char* path);
- //! Save cache for given makefile. Saves to ouput home CMakeCache.txt
+ //! Save cache for given makefile. Saves to ouput home CMakeCache.txt.
bool SaveCache(cmMakefile*) const;
+ //! Save cache for given makefile. Saves to ouput path/CMakeCache.txt
+ bool SaveCache(const char* path) const;
//! Add an entry into the cache
void AddCacheEntry(const char* key, const char* value, CacheEntryType type);