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

Method GetFeatureSpecificLinkRuleVariable

Source/cmGeneratorTarget.cxx:2819–2831  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2817
2818//----------------------------------------------------------------------------
2819std::string cmGeneratorTarget::GetFeatureSpecificLinkRuleVariable(
2820 std::string const& var, std::string const& lang,
2821 std::string const& config) const
2822{
2823 if (this->IsIPOEnabled(lang, config)) {
2824 std::string varIPO = var + "_IPO";
2825 if (this->Makefile->IsDefinitionSet(varIPO)) {
2826 return varIPO;
2827 }
2828 }
2829
2830 return var;
2831}
2832
2833//----------------------------------------------------------------------------
2834std::string cmGeneratorTarget::GetCreateRuleVariable(

Callers 3

GetCreateRuleVariableMethod · 0.95
WriteLibraryRulesMethod · 0.80
ComputeLinkCmdMethod · 0.80

Calls 2

IsIPOEnabledMethod · 0.95
IsDefinitionSetMethod · 0.80

Tested by

no test coverage detected