mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 14:08:35 +08:00
Inline unary LoadCache.
This commit is contained in:
@@ -28,12 +28,6 @@ cmCacheManager::cmCacheManager(cmake* cm)
|
||||
this->CMakeInstance = cm;
|
||||
}
|
||||
|
||||
bool cmCacheManager::LoadCache(const std::string& path)
|
||||
{
|
||||
std::set<std::string> emptySet;
|
||||
return this->LoadCache(path, true, emptySet, emptySet);
|
||||
}
|
||||
|
||||
static bool ParseEntryWithoutType(const std::string& entry,
|
||||
std::string& var,
|
||||
std::string& value)
|
||||
|
@@ -99,7 +99,6 @@ public:
|
||||
}
|
||||
|
||||
///! 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,
|
||||
std::set<std::string>& excludes,
|
||||
std::set<std::string>& includes);
|
||||
|
@@ -1752,7 +1752,8 @@ int cmake::LoadCache()
|
||||
|
||||
bool cmake::LoadCache(const std::string& path)
|
||||
{
|
||||
return this->CacheManager->LoadCache(path);
|
||||
std::set<std::string> emptySet;
|
||||
return this->LoadCache(path, true, emptySet, emptySet);
|
||||
}
|
||||
|
||||
bool cmake::LoadCache(const std::string& path, bool internal,
|
||||
|
Reference in New Issue
Block a user