| 277 | |
| 278 | template <typename CONT> |
| 279 | void InfoWriter::SetConfigArray( |
| 280 | std::string const& key, |
| 281 | cmQtAutoGenInitializer::ConfigStrings<CONT> const& cfgStr) |
| 282 | { |
| 283 | this->SetArray(key, cfgStr.Default); |
| 284 | for (auto const& item : cfgStr.Config) { |
| 285 | this->SetArray(cmStrCat(key, '_', item.first), item.second); |
| 286 | } |
| 287 | } |
| 288 | |
| 289 | bool InfoWriter::Save(std::string const& filename) |
| 290 | { |
no test coverage detected