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

Function AddFileSetEntries

Source/cmGeneratorTarget_Sources.cxx:144–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void AddFileSetEntries(cmGeneratorTarget const* headTarget,
145 cm::GenEx::Context const& context,
146 cmGeneratorExpressionDAGChecker* dagChecker,
147 EvaluatedTargetPropertyEntries& entries)
148{
149 for (auto const& entry : headTarget->Target->GetHeaderSetsEntries()) {
150 for (auto const& name : cmList{ entry.Value }) {
151 auto const* headerSet = headTarget->Target->GetFileSet(name);
152 addFileSetEntry(headTarget, context, dagChecker, headerSet, entries);
153 }
154 }
155 for (auto const& entry : headTarget->Target->GetCxxModuleSetsEntries()) {
156 for (auto const& name : cmList{ entry.Value }) {
157 auto const* cxxModuleSet = headTarget->Target->GetFileSet(name);
158 addFileSetEntry(headTarget, context, dagChecker, cxxModuleSet, entries);
159 }
160 }
161}
162
163bool processSources(cmGeneratorTarget const* tgt,
164 EvaluatedTargetPropertyEntries& entries,

Callers 1

GetSourceFilePathsMethod · 0.85

Calls 4

addFileSetEntryFunction · 0.85
GetHeaderSetsEntriesMethod · 0.80
GetFileSetMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…