| 197 | } |
| 198 | |
| 199 | void cmCacheManager::WritePropertyEntries(std::ostream& os, |
| 200 | std::string const& entryKey, |
| 201 | CacheEntry const& e, |
| 202 | cmMessenger* messenger) const |
| 203 | { |
| 204 | for (char const* p : cmCacheManager::PersistentProperties) { |
| 205 | if (cmValue value = e.GetProperty(p)) { |
| 206 | std::string helpstring = |
| 207 | cmStrCat(p, " property for variable: ", entryKey); |
| 208 | cmCacheManager::OutputHelpString(os, helpstring); |
| 209 | |
| 210 | std::string key = cmStrCat(entryKey, '-', p); |
| 211 | cmCacheManager::OutputKey(os, key); |
| 212 | os << ":INTERNAL="; |
| 213 | cmCacheManager::OutputValue(os, *value); |
| 214 | os << '\n'; |
| 215 | cmCacheManager::OutputNewlineTruncationWarning(os, key, *value, |
| 216 | messenger); |
| 217 | } |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | bool cmCacheManager::SaveCache(std::string const& path, cmMessenger* messenger) |
| 222 | { |
no test coverage detected