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

Method SetConfig

Source/cmQtAutoGenInitializer.cxx:225–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223};
224
225void InfoWriter::SetConfig(std::string const& key,
226 cmQtAutoGenInitializer::ConfigString const& cfgStr)
227{
228 this->Set(key, cfgStr.Default);
229 for (auto const& item : cfgStr.Config) {
230 this->Set(cmStrCat(key, '_', item.first), item.second);
231 }
232}
233
234template <typename CONT>
235bool InfoWriter::MakeArray(Json::Value& jval, CONT const& container)

Callers 3

SetupWriteAutogenInfoMethod · 0.45
SetupWriteRccInfoMethod · 0.45
TryCompileCodeMethod · 0.45

Calls 2

SetMethod · 0.95
cmStrCatFunction · 0.70

Tested by

no test coverage detected