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

Method ComputeObjectMapping

Source/cmGeneratorTarget.cxx:710–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

708}
709
710void cmGeneratorTarget::ComputeObjectMapping()
711{
712 auto const& configs =
713 this->Makefile->GetGeneratorConfigs(cmMakefile::IncludeEmptyConfig);
714 std::set<std::string> configSet(configs.begin(), configs.end());
715 if (configSet == this->VisitedConfigsForObjects) {
716 return;
717 }
718
719 for (std::string const& c : configs) {
720 std::vector<cmSourceFile const*> sourceFiles;
721 this->GetObjectSources(sourceFiles, c);
722 }
723}
724
725cmValue cmGeneratorTarget::GetFeature(std::string const& feature,
726 std::string const& config) const

Callers 3

CreateXCodeTargetMethod · 0.80
HasExplicitObjectNameMethod · 0.80

Calls 4

GetObjectSourcesMethod · 0.95
GetGeneratorConfigsMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected