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

Method AddHelperCommands

Source/cmLocalVisualStudio7Generator.cxx:86–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84cmLocalVisualStudio7Generator::~cmLocalVisualStudio7Generator() = default;
85
86void cmLocalVisualStudio7Generator::AddHelperCommands()
87{
88 // Now create GUIDs for targets
89 auto const& tgts = this->GetGeneratorTargets();
90 for (auto const& l : tgts) {
91 if (!l->IsInBuildSystem()) {
92 continue;
93 }
94 cmValue path = l->GetProperty("EXTERNAL_MSPROJECT");
95 if (path) {
96 this->ReadAndStoreExternalGUID(l->GetName(), path->c_str());
97 }
98 }
99
100 this->FixGlobalTargets();
101}
102
103void cmLocalVisualStudio7Generator::Generate()
104{

Callers 1

ComputeMethod · 0.45

Calls 6

FixGlobalTargetsMethod · 0.95
IsInBuildSystemMethod · 0.80
c_strMethod · 0.80
GetPropertyMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected