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

Method SetConfigArray

Source/cmQtAutoGenInitializer.cxx:279–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277
278template <typename CONT>
279void 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
289bool InfoWriter::Save(std::string const& filename)
290{

Callers 2

SetupWriteAutogenInfoMethod · 0.80
SetupWriteRccInfoMethod · 0.80

Calls 2

SetArrayMethod · 0.95
cmStrCatFunction · 0.70

Tested by

no test coverage detected