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

Method Generate

Source/cmLocalVisualStudio7Generator.cxx:103–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void cmLocalVisualStudio7Generator::Generate()
104{
105 // Create the project file for each target.
106 for (cmGeneratorTarget* gt :
107 this->GlobalGenerator->GetLocalGeneratorTargetsInOrder(this)) {
108 if (!gt->IsInBuildSystem() || gt->GetProperty("EXTERNAL_MSPROJECT")) {
109 continue;
110 }
111
112 auto& gtVisited = this->GetSourcesVisited(gt);
113 auto const& deps = this->GlobalGenerator->GetTargetDirectDepends(gt);
114 for (auto const& d : deps) {
115 // Take the union of visited source files of custom commands
116 auto depVisited = this->GetSourcesVisited(d);
117 gtVisited.insert(depVisited.begin(), depVisited.end());
118 }
119
120 this->GenerateTarget(gt);
121 }
122
123 this->WriteStampFiles();
124}
125
126void cmLocalVisualStudio7Generator::FixGlobalTargets()
127{

Callers

nothing calls this directly

Calls 9

GenerateTargetMethod · 0.95
WriteStampFilesMethod · 0.95
IsInBuildSystemMethod · 0.80
GetPropertyMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected