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

Method GetFrameworkDirectory

Source/cmGeneratorTarget.cxx:1742–1755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1740}
1741
1742std::string cmGeneratorTarget::GetFrameworkDirectory(
1743 std::string const& config, BundleDirectoryLevel level) const
1744{
1745 std::string fpath = cmStrCat(
1746 this->GetOutputName(config, cmStateEnums::RuntimeBinaryArtifact), '.');
1747 cmValue ext = this->GetProperty("BUNDLE_EXTENSION");
1748 fpath += (ext ? *ext : "framework");
1749 if (shouldAddFullLevel(level) &&
1750 !this->Makefile->PlatformIsAppleEmbedded()) {
1751 fpath += "/Versions/";
1752 fpath += this->GetFrameworkVersion();
1753 }
1754 return fpath;
1755}
1756
1757std::string cmGeneratorTarget::GetFullName(
1758 std::string const& config, cmStateEnums::ArtifactType artifact) const

Callers 4

BuildBundleDirectoryMethod · 0.95
CreateFrameworkMethod · 0.80
CreateMethod · 0.80

Calls 6

GetOutputNameMethod · 0.95
GetPropertyMethod · 0.95
GetFrameworkVersionMethod · 0.95
shouldAddFullLevelFunction · 0.85
cmStrCatFunction · 0.70

Tested by

no test coverage detected