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

Function WriteSlnxFolder

Source/cmVSSolution.cxx:374–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372};
373
374void WriteSlnxFolder(cmXMLElement& xmlParent, Solution const& solution,
375 Solution::Folder const& folder)
376{
377 cmXMLElement xmlFolder(xmlParent, "Folder");
378 xmlFolder.Attribute("Name", cmStrCat('/', folder.Name, '/'));
379 for (std::string const& filePath : folder.Files) {
380 cmXMLElement(xmlFolder, "File").Attribute("Path", filePath);
381 }
382 for (Solution::Project const* project : folder.Projects) {
383 WriteSlnxProject(xmlFolder, solution, *project);
384 }
385};
386
387void WriteSlnxPropertyGroup(cmXMLElement& xmlParent,
388 Solution::PropertyGroup const& pg)

Callers 1

WriteSlnxFunction · 0.85

Calls 4

WriteSlnxProjectFunction · 0.85
AttributeMethod · 0.80
cmStrCatFunction · 0.70
cmXMLElementClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…