| 1714 | } |
| 1715 | |
| 1716 | std::string cmGeneratorTarget::GetCFBundleDirectory( |
| 1717 | std::string const& config, BundleDirectoryLevel level) const |
| 1718 | { |
| 1719 | std::string fpath = cmStrCat( |
| 1720 | this->GetOutputName(config, cmStateEnums::RuntimeBinaryArtifact), '.'); |
| 1721 | std::string ext; |
| 1722 | if (cmValue p = this->GetProperty("BUNDLE_EXTENSION")) { |
| 1723 | ext = *p; |
| 1724 | } else { |
| 1725 | if (this->IsXCTestOnApple()) { |
| 1726 | ext = "xctest"; |
| 1727 | } else { |
| 1728 | ext = "bundle"; |
| 1729 | } |
| 1730 | } |
| 1731 | fpath += ext; |
| 1732 | if (shouldAddContentLevel(level) && |
| 1733 | !this->Makefile->PlatformIsAppleEmbedded()) { |
| 1734 | fpath += "/Contents"; |
| 1735 | if (shouldAddFullLevel(level)) { |
| 1736 | fpath += "/MacOS"; |
| 1737 | } |
| 1738 | } |
| 1739 | return fpath; |
| 1740 | } |
| 1741 | |
| 1742 | std::string cmGeneratorTarget::GetFrameworkDirectory( |
| 1743 | std::string const& config, BundleDirectoryLevel level) const |
no test coverage detected