cmCacheManager: Remove unused overloads.
This commit is contained in:
parent
23bb5d225b
commit
64556e3dfa
|
@ -76,25 +76,12 @@ bool cmCacheManager::IsType(const char* s)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool cmCacheManager::LoadCache(cmMakefile* mf)
|
||||
{
|
||||
return this->LoadCache(mf->GetHomeOutputDirectory());
|
||||
}
|
||||
|
||||
|
||||
bool cmCacheManager::LoadCache(const std::string& path)
|
||||
{
|
||||
std::set<std::string> 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,
|
||||
std::string& var,
|
||||
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)
|
||||
{
|
||||
std::string cacheFile = path;
|
||||
|
|
|
@ -105,17 +105,12 @@ public:
|
|||
static const char* TypeToString(CacheEntryType);
|
||||
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.
|
||||
bool LoadCache(const std::string& path);
|
||||
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>& 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 std::string& path) ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue