| 1740 | } |
| 1741 | |
| 1742 | std::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 | |
| 1757 | std::string cmGeneratorTarget::GetFullName( |
| 1758 | std::string const& config, cmStateEnums::ArtifactType artifact) const |
no test coverage detected