mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-24 17:18:37 -05:00
install(EXPORT): Add ability to point to .xcframework file
Issue: #25262
This commit is contained in:
@@ -35,12 +35,14 @@ class cmExportBuildFileGenerator : public cmExportFileGenerator
|
||||
public:
|
||||
struct TargetExport
|
||||
{
|
||||
TargetExport(std::string name)
|
||||
TargetExport(std::string name, std::string xcFrameworkLocation)
|
||||
: Name(std::move(name))
|
||||
, XcFrameworkLocation(std::move(xcFrameworkLocation))
|
||||
{
|
||||
}
|
||||
|
||||
std::string Name;
|
||||
std::string XcFrameworkLocation;
|
||||
};
|
||||
|
||||
cmExportBuildFileGenerator();
|
||||
@@ -111,12 +113,15 @@ protected:
|
||||
|
||||
struct TargetExportPrivate
|
||||
{
|
||||
TargetExportPrivate(cmGeneratorTarget* target)
|
||||
TargetExportPrivate(cmGeneratorTarget* target,
|
||||
std::string xcFrameworkLocation)
|
||||
: Target(target)
|
||||
, XcFrameworkLocation(std::move(xcFrameworkLocation))
|
||||
{
|
||||
}
|
||||
|
||||
cmGeneratorTarget* Target;
|
||||
std::string XcFrameworkLocation;
|
||||
};
|
||||
|
||||
std::vector<TargetExport> Targets;
|
||||
|
||||
Reference in New Issue
Block a user