Init squashed

This commit is contained in:
Lauri Räsänen 2024-09-17 19:14:58 +03:00
commit 4aac4b824f
95 changed files with 7582 additions and 0 deletions

27
scripts/compile_jolt.sh Executable file
View file

@ -0,0 +1,27 @@
#!/bin/bash -x
set -euo pipefail
mode=${1:-"Debug"}
CWD="$(pwd)"
mkdir -p lib
cd include/JoltPhysics/Build
rm -rf Linux_Debug
rm -rf Linux_Release
rm -rf Linux_Distribution
./cmake_linux_clang_gcc.sh "$mode" clang++ \
-DBUILD_SHARED_LIBS=ON \
-DCPP_RTTI_ENABLED=ON
cd "Linux_$mode"
make -j "$(nproc)"
./UnitTests
cp libJolt.so "$CWD/lib/libJolt.so"