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

Function WriteSlnPropertyGroup

Source/cmVSSolution.cxx:261–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void WriteSlnPropertyGroup(std::ostream& sln,
262 Solution::PropertyGroup const& pg)
263{
264 cm::string_view const order = pg.Scope == Solution::PropertyGroup::Load::Pre
265 ? "preSolution"_s
266 : "postSolution"_s;
267 sln << "\tGlobalSection(" << pg.Name << ") = " << order << '\n';
268 for (auto const& i : pg.Map) {
269 sln << "\t\t" << i.first << " = " << i.second << '\n';
270 }
271 sln << "\tEndGlobalSection\n";
272}
273
274}
275

Callers 1

WriteSlnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…