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

Method AddLanguageFlagsForLinking

Source/cmLocalGenerator.cxx:2273–2282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2271}
2272
2273void cmLocalGenerator::AddLanguageFlagsForLinking(
2274 std::string& flags, cmGeneratorTarget const* target, std::string const& lang,
2275 std::string const& config)
2276{
2277 this->AddLanguageFlags(flags, target, cmBuildStep::Link, lang, config);
2278
2279 if (target->IsIPOEnabled(lang, config)) {
2280 this->AppendFeatureOptions(flags, lang, "IPO");
2281 }
2282}
2283
2284cmGeneratorTarget* cmLocalGenerator::FindGeneratorTargetToUse(
2285 std::string const& name) const

Callers 8

GetTargetFlagsMethod · 0.95
WriteExecutableRuleMethod · 0.80
WriteLibraryRulesMethod · 0.80
WriteLinkStatementMethod · 0.80

Calls 3

AddLanguageFlagsMethod · 0.95
AppendFeatureOptionsMethod · 0.95
IsIPOEnabledMethod · 0.80

Tested by

no test coverage detected