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

Method BuildBundleDirectory

Source/cmGeneratorTarget.cxx:1896–1911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1894}
1895
1896std::string cmGeneratorTarget::BuildBundleDirectory(
1897 std::string const& base, std::string const& config,
1898 BundleDirectoryLevel level) const
1899{
1900 std::string fpath = base;
1901 if (this->IsAppBundleOnApple()) {
1902 fpath += this->GetAppBundleDirectory(config, level);
1903 }
1904 if (this->IsFrameworkOnApple()) {
1905 fpath += this->GetFrameworkDirectory(config, level);
1906 }
1907 if (this->IsCFBundleOnApple()) {
1908 fpath += this->GetCFBundleDirectory(config, level);
1909 }
1910 return fpath;
1911}
1912
1913std::string cmGeneratorTarget::GetMacContentDirectory(
1914 std::string const& config, cmStateEnums::ArtifactType artifact) const

Callers 5

NormalGetFullPathMethod · 0.95
CreateMethod · 0.80
CreateMethod · 0.80

Calls 6

IsAppBundleOnAppleMethod · 0.95
GetAppBundleDirectoryMethod · 0.95
IsFrameworkOnAppleMethod · 0.95
GetFrameworkDirectoryMethod · 0.95
IsCFBundleOnAppleMethod · 0.95
GetCFBundleDirectoryMethod · 0.95

Tested by

no test coverage detected