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

Method GetObjectSources

Source/cmGeneratorTarget.cxx:693–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691/* clang-format on */
692
693void cmGeneratorTarget::GetObjectSources(
694 std::vector<cmSourceFile const*>& data, std::string const& config) const
695{
696 IMPLEMENT_VISIT(SourceKindObjectSource);
697
698 if (this->VisitedConfigsForObjects.count(config)) {
699 return;
700 }
701
702 for (cmSourceFile const* it : data) {
703 this->Objects[it];
704 }
705
706 this->LocalGenerator->ComputeObjectFilenames(this->Objects, config, this);
707 this->VisitedConfigsForObjects.insert(config);
708}
709
710void cmGeneratorTarget::ComputeObjectMapping()
711{

Callers 13

ComputeObjectMappingMethod · 0.95
WriteTargetBuildRulesMethod · 0.80
GetLocalObjectFilesMethod · 0.80
GenerateObjectsMethod · 0.80
WriteLanguagesRulesMethod · 0.80
WriteLinkStatementMethod · 0.80

Calls 3

countMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected