Add NvCloth for iOS
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "SkinnedModelLOD.h"
|
||||
#include "MeshDeformation.h"
|
||||
#include "Engine/Core/Log.h"
|
||||
#include "Engine/Core/Math/Transform.h"
|
||||
#include "Engine/Graphics/GPUDevice.h"
|
||||
#include "Engine/Content/Assets/Model.h"
|
||||
#include "Engine/Serialization/MemoryReadStream.h"
|
||||
|
||||
BIN
Binary file not shown.
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user