| 3396 | } |
| 3397 | |
| 3398 | bool 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 | |
| 3411 | bool cmake::DeleteCache(std::string const& path) |
| 3412 | { |
no test coverage detected