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

Method CompileDirectoryEntries

Source/cmFileSet.cxx:143–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143std::vector<std::unique_ptr<cmCompiledGeneratorExpression>>
144cmFileSet::CompileDirectoryEntries() const
145{
146 std::vector<std::unique_ptr<cmCompiledGeneratorExpression>> result;
147
148 for (auto const& entry : this->DirectoryEntries) {
149 for (auto const& ex : cmList{ entry.Value }) {
150 cmGeneratorExpression ge(*this->GetMakefile()->GetCMakeInstance(),
151 entry.Backtrace);
152 auto cge = ge.Parse(ex);
153 result.push_back(std::move(cge));
154 }
155 }
156
157 return result;
158}
159
160std::vector<std::string> cmFileSet::EvaluateDirectoryEntries(
161 std::vector<std::unique_ptr<cmCompiledGeneratorExpression>> const& cges,

Callers 11

addFileSetEntryFunction · 0.80
WriteTargetBuildRulesMethod · 0.80
GetFileSetDirectoriesMethod · 0.80
GetFileSetFilesMethod · 0.80
BuildFileSetInfoCacheMethod · 0.80
CalculateFilesPerDirMethod · 0.80
DumpInstallerMethod · 0.80
DumpFileSetsMethod · 0.80
GetFileSetFilesMethod · 0.80

Calls 5

GetMakefileMethod · 0.95
moveFunction · 0.85
push_backMethod · 0.80
GetCMakeInstanceMethod · 0.45
ParseMethod · 0.45

Tested by

no test coverage detected