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

Method GetProjectByName

Source/cmVisualStudioSlnData.cxx:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37cmSlnProjectEntry const* cmSlnData::GetProjectByName(
38 std::string const& projectName) const
39{
40 auto it(ProjectNameIndex.find(projectName));
41 if (it != ProjectNameIndex.end()) {
42 return &it->second->second;
43 }
44 return nullptr;
45}
46
47std::vector<cmSlnProjectEntry> cmSlnData::GetProjects() const
48{

Callers 1

GenerateBuildCommandMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected