| 101 | } |
| 102 | |
| 103 | void 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 | |
| 126 | void cmLocalVisualStudio7Generator::FixGlobalTargets() |
| 127 | { |
nothing calls this directly
no test coverage detected