aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/BuildProjectsIOS.sh
diff options
context:
space:
mode:
authormoraaar <[email protected]>2021-01-18 13:06:41 +0000
committerMarijn Tamis <[email protected]>2021-04-13 12:18:28 +0200
commit1bc68df930bd60e8480204791fc1947c7141cded (patch)
tree05edaa89d2468d76c74f23ecdbb6e63dfc6481b3 /NvCloth/BuildProjectsIOS.sh
parentFix errors in licence.txt (diff)
downloadnvcloth-lumberyard.tar.xz
nvcloth-lumberyard.zip
- Added support to build both share & static libraries on all platforms (pc, mac, ios, android, linux)lumberyard
+ Modified cmake files to be able to choose between static or dynamic libraries + Predefined NvCloth API macros when building staticly so it doesn't include any export/import code. - Fixed linking error on iOS as it didn't include any implementation for Atomics (using unix version as Mac does) - Fixed Windows cmake bug when choosing between /MT and /MD. - Fixed linking error when NEON is enabled caused by compiling SwCollision.cpp, SwSelfCollision.cpp and SwSolverKernel.cpp content twice. - Enabled NEON SIMD instructions on all platforms that supports it: + Modified NEON code to be platform agnostic using macros, not Android only. + Enbled NEON instructions on iOS + Modified Android cmake files to use the right macros depending on ABI being built. - Fixed compilation error when client app uses NvCloth library and the app compiles with Visual Studio 2019. + Microsoft removed <typeinfo.h> from VS2019 16.3 and that header is used by NvCloth library. Fixed nVidia's NvCloth library to use <typeinfo> instead from that version. - Fixed unstable cloth simulation on Android (armv8). + Cloth particles during simulation were very unstable on Android (armv8), their location gets out of control really quickly with very unpredictable behaviour. After many attempts to find the source of the problem debugging the library, the solution came by adding the flag "-ffast-math" in the compilation of the library for Android (armv8).
Diffstat (limited to 'NvCloth/BuildProjectsIOS.sh')
-rw-r--r--NvCloth/BuildProjectsIOS.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/NvCloth/BuildProjectsIOS.sh b/NvCloth/BuildProjectsIOS.sh
index 5a686c0..882a98c 100644
--- a/NvCloth/BuildProjectsIOS.sh
+++ b/NvCloth/BuildProjectsIOS.sh
@@ -25,3 +25,11 @@ cd compiler/ios-cmake/
$CMAKE --build . --target ALL_BUILD --clean-first --config debug -- -parallelizeTargets -jobs 5 || exit 1
cd ../../
+cd compiler/ios-cmake/
+$CMAKE --build . --target ALL_BUILD --clean-first --config profile -- -parallelizeTargets -jobs 5 || exit 1
+cd ../../
+
+cd compiler/ios-cmake/
+$CMAKE --build . --target ALL_BUILD --clean-first --config checked -- -parallelizeTargets -jobs 5 || exit 1
+cd ../../
+