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

Function WriteSlnx

Source/cmVSSolution.cxx:403–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403void WriteSlnx(std::ostream& slnx, Solution const& solution)
404{
405 cmXMLWriter xw(slnx);
406 cmXMLDocument xml(xw);
407 cmXMLElement xmlSolution(xml, "Solution");
408 WriteSlnxSolutionConfigurationPlatforms(xmlSolution, solution);
409 for (Solution::Project const* project : solution.Projects) {
410 WriteSlnxProject(xmlSolution, solution, *project);
411 }
412 for (Solution::Folder const* folder : solution.Folders) {
413 WriteSlnxFolder(xmlSolution, solution, *folder);
414 }
415 for (Solution::PropertyGroup const* pg : solution.PropertyGroups) {
416 WriteSlnxPropertyGroup(xmlSolution, *pg);
417 }
418}
419
420}
421}

Callers 1

GenerateSolutionMethod · 0.85

Calls 4

WriteSlnxProjectFunction · 0.85
WriteSlnxFolderFunction · 0.85
WriteSlnxPropertyGroupFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…