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

Function WriteSlnNestedProjects

Source/cmVSSolution.cxx:246–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246void WriteSlnNestedProjects(
247 std::ostream& sln, std::vector<Solution::Folder const*> const& folders)
248{
249 sln << "\tGlobalSection(NestedProjects) = preSolution\n";
250 for (Solution::Folder const* folder : folders) {
251 for (Solution::Folder const* nestedFolder : folder->Folders) {
252 sln << "\t\t{" << nestedFolder->Id << "} = {" << folder->Id << "}\n";
253 }
254 for (Solution::Project const* project : folder->Projects) {
255 sln << "\t\t{" << project->Id << "} = {" << folder->Id << "}\n";
256 }
257 }
258 sln << "\tEndGlobalSection\n";
259}
260
261void WriteSlnPropertyGroup(std::ostream& sln,
262 Solution::PropertyGroup const& pg)

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…