| 169 | } |
| 170 | |
| 171 | void cmGraphVizWriter::VisitLink(cmLinkItem const& depender, |
| 172 | cmLinkItem const& dependee, bool isDirectLink, |
| 173 | std::string const& scopeType) |
| 174 | { |
| 175 | if (this->ItemExcluded(depender) || this->ItemExcluded(dependee)) { |
| 176 | return; |
| 177 | } |
| 178 | |
| 179 | if (!isDirectLink) { |
| 180 | return; |
| 181 | } |
| 182 | |
| 183 | // write global data directly |
| 184 | this->WriteConnection(this->GlobalFileStream, depender, dependee, scopeType); |
| 185 | |
| 186 | if (this->GeneratePerTarget) { |
| 187 | this->PerTargetConnections[depender].emplace_back(depender, dependee, |
| 188 | scopeType); |
| 189 | } |
| 190 | |
| 191 | if (this->GenerateDependers) { |
| 192 | this->TargetDependersConnections[dependee].emplace_back(dependee, depender, |
| 193 | scopeType); |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | void cmGraphVizWriter::ReadSettings( |
| 198 | std::string const& settingsFileName, |
no test coverage detected