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

Method GetFrameworkMultiConfigPostfix

Source/cmGeneratorTarget.cxx:414–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414std::string cmGeneratorTarget::GetFrameworkMultiConfigPostfix(
415 std::string const& config) const
416{
417 cmValue postfix = nullptr;
418 if (!config.empty()) {
419 std::string configProp = cmStrCat("FRAMEWORK_MULTI_CONFIG_POSTFIX_",
420 cmSystemTools::UpperCase(config));
421 postfix = this->GetProperty(configProp);
422
423 if (!this->IsImported() && postfix &&
424 (this->IsFrameworkOnApple() &&
425 !this->GetGlobalGenerator()->IsMultiConfig())) {
426 postfix = nullptr;
427 }
428 }
429 return postfix ? *postfix : std::string();
430}
431
432cmValue cmGeneratorTarget::GetFilePrefixInternal(
433 std::string const& config, cmStateEnums::ArtifactType artifact,

Callers 1

GetFilePostfixMethod · 0.95

Calls 7

GetPropertyMethod · 0.95
IsImportedMethod · 0.95
IsFrameworkOnAppleMethod · 0.95
GetGlobalGeneratorMethod · 0.95
cmStrCatFunction · 0.70
emptyMethod · 0.45
IsMultiConfigMethod · 0.45

Tested by

no test coverage detected