MCPcopy Create free account
hub / github.com/Kitware/CMake / SaveCache

Method SaveCache

Source/cmake.cxx:3398–3409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3396}
3397
3398bool cmake::SaveCache(std::string const& path)
3399{
3400 bool result = this->State->SaveCache(path, this->GetMessenger());
3401 static auto const entries = { "CMAKE_CACHE_MAJOR_VERSION",
3402 "CMAKE_CACHE_MINOR_VERSION",
3403 "CMAKE_CACHE_PATCH_VERSION",
3404 "CMAKE_CACHEFILE_DIR" };
3405 for (auto const& entry : entries) {
3406 this->UnwatchUnusedCli(entry);
3407 }
3408 return result;
3409}
3410
3411bool cmake::DeleteCache(std::string const& path)
3412{

Callers 6

ActualConfigureMethod · 0.95
GenerateMethod · 0.95
OutputXCodeProjectMethod · 0.45
AddEnvVarMethod · 0.45
setPropertiesMethod · 0.45
WriteMethod · 0.45

Calls 2

GetMessengerMethod · 0.95
UnwatchUnusedCliMethod · 0.95

Tested by

no test coverage detected