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

Method GetOrCreateSourceGroup

Source/cmMakefile.cxx:2184–2193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2182}
2183
2184cmSourceGroup* cmMakefile::GetOrCreateSourceGroup(
2185 std::vector<std::string> const& folders)
2186{
2187 cmSourceGroup* sg = this->GetSourceGroup(folders);
2188 if (!sg) {
2189 this->AddSourceGroup(folders);
2190 sg = this->GetSourceGroup(folders);
2191 }
2192 return sg;
2193}
2194
2195cmSourceGroup* cmMakefile::GetOrCreateSourceGroup(std::string const& name)
2196{

Callers 4

addFileSetEntryFunction · 0.80
cmSourceGroupCommandFunction · 0.80
AddToSourceGroupMethod · 0.80

Calls 4

GetSourceGroupMethod · 0.95
AddSourceGroupMethod · 0.95
GetDefinitionMethod · 0.95
cmTokenizeFunction · 0.85

Tested by

no test coverage detected