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

Method GetMacContentDirectory

Source/cmGeneratorTarget.cxx:1913–1926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1911}
1912
1913std::string cmGeneratorTarget::GetMacContentDirectory(
1914 std::string const& config, cmStateEnums::ArtifactType artifact) const
1915{
1916 // Start with the output directory for the target.
1917 std::string fpath = cmStrCat(this->GetDirectory(config, artifact), '/');
1918 BundleDirectoryLevel level = ContentLevel;
1919 if (this->IsFrameworkOnApple()) {
1920 // additional files with a framework go into the version specific
1921 // directory
1922 level = FullLevel;
1923 }
1924 fpath = this->BuildBundleDirectory(fpath, config, level);
1925 return fpath;
1926}
1927
1928std::string cmGeneratorTarget::GetEffectiveFolderName() const
1929{

Callers 1

Calls 4

GetDirectoryMethod · 0.95
IsFrameworkOnAppleMethod · 0.95
BuildBundleDirectoryMethod · 0.95
cmStrCatFunction · 0.70

Tested by

no test coverage detected