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

Method GetIncludes

Source/cmCommonTargetGenerator.cxx:153–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153std::string cmCommonTargetGenerator::GetIncludes(std::string const& l,
154 std::string const& config)
155{
156 auto i = this->Configs[config].IncludesByLanguage.find(l);
157 if (i == this->Configs[config].IncludesByLanguage.end()) {
158 std::string includes;
159 this->AddIncludeFlags(includes, l, config);
160 ByLanguageMap::value_type entry(l, includes);
161 i = this->Configs[config].IncludesByLanguage.insert(entry).first;
162 }
163 return i->second;
164}
165
166cmCommonTargetGenerator::LinkedTargetDirs
167cmCommonTargetGenerator::GetLinkedTargetDirectories(

Callers 6

WriteObjectRuleFilesMethod · 0.45
ComputeIncludesMethod · 0.45
WriteLinkStatementMethod · 0.45

Calls 4

findMethod · 0.45
endMethod · 0.45
AddIncludeFlagsMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected