Xcode: add support for embedding dynamic libraries

This commit is contained in:
Lucas SOLTIC
2021-09-14 08:37:48 +10:00
committed by Craig Scott
parent b7bcf70761
commit 6ef7bfbb64
10 changed files with 44 additions and 27 deletions
+6
View File
@@ -1592,6 +1592,12 @@ bool cmSystemTools::IsPathToFramework(const std::string& path)
cmHasLiteralSuffix(path, ".framework"));
}
bool cmSystemTools::IsPathToMacOSSharedLibrary(const std::string& path)
{
return (cmSystemTools::FileIsFullPath(path) &&
cmHasLiteralSuffix(path, ".dylib"));
}
bool cmSystemTools::CreateTar(const std::string& outFileName,
const std::vector<std::string>& files,
cmTarCompression compressType, bool verbose,