summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-07 20:34:39 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:32 (GMT)
commitf3efa3cd160d9957437168627689720bb953bb2b (patch)
tree0738950fc9d37532df43f2d6f70a0e70e069ddc4 /Source/cmCacheManager.h
parentadcd812917fe37798a3062bfb3a0932e128faec2 (diff)
downloadCMake-f3efa3cd160d9957437168627689720bb953bb2b.zip
CMake-f3efa3cd160d9957437168627689720bb953bb2b.tar.gz
CMake-f3efa3cd160d9957437168627689720bb953bb2b.tar.bz2
stringapi: Use strings for cache paths as arguments
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r--Source/cmCacheManager.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h
index 7a61394..14cb1d9 100644
--- a/Source/cmCacheManager.h
+++ b/Source/cmCacheManager.h
@@ -108,19 +108,19 @@ public:
///! Load a cache for given makefile. Loads from ouput home.
bool LoadCache(cmMakefile*);
///! Load a cache for given makefile. Loads from path/CMakeCache.txt.
- bool LoadCache(const char* path);
- bool LoadCache(const char* path, bool internal);
- bool LoadCache(const char* path, bool internal,
+ bool LoadCache(const std::string& path);
+ bool LoadCache(const std::string& path, bool internal);
+ bool LoadCache(const std::string& path, bool internal,
std::set<cmStdString>& excludes,
std::set<cmStdString>& includes);
///! Save cache for given makefile. Saves to ouput home CMakeCache.txt.
bool SaveCache(cmMakefile*) ;
///! Save cache for given makefile. Saves to ouput path/CMakeCache.txt
- bool SaveCache(const char* path) ;
+ bool SaveCache(const std::string& path) ;
///! Delete the cache given
- bool DeleteCache(const char* path);
+ bool DeleteCache(const std::string& path);
///! Print the cache to a stream
void PrintCache(std::ostream&) const;
@@ -159,7 +159,7 @@ protected:
///! Get a cache entry object for a key
CacheEntry *GetCacheEntry(const std::string& key);
///! Clean out the CMakeFiles directory if no CMakeCache.txt
- void CleanCMakeFiles(const char* path);
+ void CleanCMakeFiles(const std::string& path);
// Cache version info
unsigned int CacheMajorVersion;