cmCacheManager: Remove unused overloads.

This commit is contained in:
Stephen Kelly 2015-04-04 20:24:34 +02:00
parent 23bb5d225b
commit 64556e3dfa
2 changed files with 0 additions and 24 deletions

View File

@ -76,25 +76,12 @@ bool cmCacheManager::IsType(const char* s)
return false; return false;
} }
bool cmCacheManager::LoadCache(cmMakefile* mf)
{
return this->LoadCache(mf->GetHomeOutputDirectory());
}
bool cmCacheManager::LoadCache(const std::string& path) bool cmCacheManager::LoadCache(const std::string& path)
{ {
std::set<std::string> emptySet; std::set<std::string> emptySet;
return this->LoadCache(path, true, emptySet, emptySet); return this->LoadCache(path, true, emptySet, emptySet);
} }
bool cmCacheManager::LoadCache(const std::string& path,
bool internal)
{
std::set<std::string> emptySet;
return this->LoadCache(path, internal, emptySet, emptySet);
}
static bool ParseEntryWithoutType(const std::string& entry, static bool ParseEntryWithoutType(const std::string& entry,
std::string& var, std::string& var,
std::string& value) std::string& value)
@ -419,12 +406,6 @@ void cmCacheManager::WritePropertyEntries(std::ostream& os,
} }
} }
bool cmCacheManager::SaveCache(cmMakefile* mf)
{
return this->SaveCache(mf->GetHomeOutputDirectory());
}
bool cmCacheManager::SaveCache(const std::string& path) bool cmCacheManager::SaveCache(const std::string& path)
{ {
std::string cacheFile = path; std::string cacheFile = path;

View File

@ -105,17 +105,12 @@ public:
static const char* TypeToString(CacheEntryType); static const char* TypeToString(CacheEntryType);
static bool IsType(const char*); static bool IsType(const char*);
///! Load a cache for given makefile. Loads from ouput home.
bool LoadCache(cmMakefile*);
///! Load a cache for given makefile. Loads from path/CMakeCache.txt. ///! Load a cache for given makefile. Loads from path/CMakeCache.txt.
bool LoadCache(const std::string& path); bool LoadCache(const std::string& path);
bool LoadCache(const std::string& path, bool internal);
bool LoadCache(const std::string& path, bool internal, bool LoadCache(const std::string& path, bool internal,
std::set<std::string>& excludes, std::set<std::string>& excludes,
std::set<std::string>& includes); std::set<std::string>& 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 ///! Save cache for given makefile. Saves to ouput path/CMakeCache.txt
bool SaveCache(const std::string& path) ; bool SaveCache(const std::string& path) ;