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

Method GetAllInterfaceFileSets

Source/cmTarget.cxx:3199–3215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3197}
3198
3199std::vector<std::string> cmTarget::GetAllInterfaceFileSets() const
3200{
3201 std::vector<std::string> result;
3202 auto inserter = std::back_inserter(result);
3203
3204 auto appendEntries = [=](std::vector<BT<std::string>> const& entries) {
3205 for (auto const& entry : entries) {
3206 cmList expanded{ entry.Value };
3207 std::copy(expanded.begin(), expanded.end(), inserter);
3208 }
3209 };
3210
3211 appendEntries(this->impl->HeadersFileSets.InterfaceEntries.Entries);
3212 appendEntries(this->impl->CxxModulesFileSets.InterfaceEntries.Entries);
3213
3214 return result;
3215}
3216
3217bool cmTarget::HasFileSets() const
3218{

Callers 5

CreateIfAnyMethod · 0.80
HandleTargetsModeFunction · 0.80
ComputeMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected