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

Function PopulateFileSet

Source/cmCxxModuleMetadata.cxx:505–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503}
504
505void PopulateFileSet(cmTarget& target, MetaDataProperties const& props)
506{
507 auto fileSet = target.GetOrCreateFileSet("CXX_MODULES", "CXX_MODULES",
508 cmFileSetVisibility::Public);
509
510 for (auto const& source : props.Sources) {
511 fileSet.first->AddFileEntry(source);
512 }
513
514 for (auto const& baseDir : props.BaseDirs) {
515 fileSet.first->AddDirectoryEntry(baseDir);
516 }
517}
518
519void PopulateLocalTarget(cmTarget& target, MetaDataProperties const& props)
520{

Callers 1

PopulateTargetMethod · 0.85

Calls 3

GetOrCreateFileSetMethod · 0.80
AddFileEntryMethod · 0.80
AddDirectoryEntryMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…