Add NvCloth for iOS

This commit is contained in:
Wojtek Figat
2023-07-15 11:27:26 +02:00
parent 6664972fbf
commit 18fb7fb849
3 changed files with 12 additions and 0 deletions

View File

@@ -86,6 +86,9 @@ namespace Flax.Deps.Dependencies
Build(options, platform, TargetArchitecture.x64);
Build(options, platform, TargetArchitecture.ARM64);
break;
case TargetPlatform.iOS:
Build(options, platform, TargetArchitecture.ARM64);
break;
}
}
@@ -149,6 +152,11 @@ namespace Flax.Deps.Dependencies
cmakeName = "mac";
binariesPrefix = "lib";
break;
case TargetPlatform.iOS:
cmakeArgs += " -DTARGET_BUILD_PLATFORM=ios";
cmakeName = "ios";
binariesPrefix = "lib";
break;
default: throw new InvalidPlatformException(platform);
}
var cmakeFolder = Path.Combine(nvCloth, "compiler", "cmake", cmakeName);