Add NvCloth for iOS
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
#include "SkinnedModelLOD.h"
|
#include "SkinnedModelLOD.h"
|
||||||
#include "MeshDeformation.h"
|
#include "MeshDeformation.h"
|
||||||
#include "Engine/Core/Log.h"
|
#include "Engine/Core/Log.h"
|
||||||
|
#include "Engine/Core/Math/Transform.h"
|
||||||
#include "Engine/Graphics/GPUDevice.h"
|
#include "Engine/Graphics/GPUDevice.h"
|
||||||
#include "Engine/Content/Assets/Model.h"
|
#include "Engine/Content/Assets/Model.h"
|
||||||
#include "Engine/Serialization/MemoryReadStream.h"
|
#include "Engine/Serialization/MemoryReadStream.h"
|
||||||
|
|||||||
BIN
Source/Platforms/iOS/Binaries/ThirdParty/ARM64/libNvCloth.a
(Stored with Git LFS)
vendored
Normal file
BIN
Source/Platforms/iOS/Binaries/ThirdParty/ARM64/libNvCloth.a
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
@@ -86,6 +86,9 @@ namespace Flax.Deps.Dependencies
|
|||||||
Build(options, platform, TargetArchitecture.x64);
|
Build(options, platform, TargetArchitecture.x64);
|
||||||
Build(options, platform, TargetArchitecture.ARM64);
|
Build(options, platform, TargetArchitecture.ARM64);
|
||||||
break;
|
break;
|
||||||
|
case TargetPlatform.iOS:
|
||||||
|
Build(options, platform, TargetArchitecture.ARM64);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -149,6 +152,11 @@ namespace Flax.Deps.Dependencies
|
|||||||
cmakeName = "mac";
|
cmakeName = "mac";
|
||||||
binariesPrefix = "lib";
|
binariesPrefix = "lib";
|
||||||
break;
|
break;
|
||||||
|
case TargetPlatform.iOS:
|
||||||
|
cmakeArgs += " -DTARGET_BUILD_PLATFORM=ios";
|
||||||
|
cmakeName = "ios";
|
||||||
|
binariesPrefix = "lib";
|
||||||
|
break;
|
||||||
default: throw new InvalidPlatformException(platform);
|
default: throw new InvalidPlatformException(platform);
|
||||||
}
|
}
|
||||||
var cmakeFolder = Path.Combine(nvCloth, "compiler", "cmake", cmakeName);
|
var cmakeFolder = Path.Combine(nvCloth, "compiler", "cmake", cmakeName);
|
||||||
|
|||||||
Reference in New Issue
Block a user