MCPcopy Index your code
hub / github.com/Kitware/CMake / AddConfigVariableFlags

Method AddConfigVariableFlags

Source/cmLocalGenerator.cxx:2529–2541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2527}
2528
2529void cmLocalGenerator::AddConfigVariableFlags(std::string& flags,
2530 std::string const& var,
2531 std::string const& config)
2532{
2533 // Add the flags from the variable itself.
2534 this->AppendFlags(flags, this->Makefile->GetSafeDefinition(var));
2535 // Add the flags from the build-type specific variable.
2536 if (!config.empty()) {
2537 std::string const flagsVar =
2538 cmStrCat(var, '_', cmSystemTools::UpperCase(config));
2539 this->AppendFlags(flags, this->Makefile->GetSafeDefinition(flagsVar));
2540 }
2541}
2542void cmLocalGenerator::AddConfigVariableFlags(std::string& flags,
2543 std::string const& var,
2544 cmGeneratorTarget const* target,

Callers 4

GetStaticLibraryFlagsMethod · 0.95
AddLanguageFlagsMethod · 0.95
WriteFrameworkRulesMethod · 0.80

Calls 3

AppendFlagsMethod · 0.95
cmStrCatFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected