summaryrefslogtreecommitdiffstats
path: root/Source/cmExportBuildFileGenerator.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-09-21 18:04:54 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2023-11-15 14:10:58 (GMT)
commit256bb0cc40a9f9f20452f0c0b2480886a577e7cb (patch)
treecc07534f951465698ace7fefc0bebfc12a456029 /Source/cmExportBuildFileGenerator.h
parenta90968e044d04839e610da9a1adf7b6f390e144a (diff)
downloadCMake-256bb0cc40a9f9f20452f0c0b2480886a577e7cb.zip
CMake-256bb0cc40a9f9f20452f0c0b2480886a577e7cb.tar.gz
CMake-256bb0cc40a9f9f20452f0c0b2480886a577e7cb.tar.bz2
install(EXPORT): Add ability to point to .xcframework file
Issue: #25262
Diffstat (limited to 'Source/cmExportBuildFileGenerator.h')
-rw-r--r--Source/cmExportBuildFileGenerator.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmExportBuildFileGenerator.h b/Source/cmExportBuildFileGenerator.h
index 2ac8fba..9f11d13 100644
--- a/Source/cmExportBuildFileGenerator.h
+++ b/Source/cmExportBuildFileGenerator.h
@@ -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;