This website works better with JavaScript
Home
Explore
Help
Sign In
cpp
/
JoltPhysics
mirror of
https://github.com/jrouwe/JoltPhysics.git
Watch
2
Star
0
Fork
0
Files
Issues
0
Wiki
Tree:
d78e4342be
Branches
Tags
feature/can_add_bodies
gh-pages
master
v5.5.0
v5.4.0
v5.3.0
v5.2.0
v5.1.0
v5.0.0
v4.0.2
v4.0.1
v4.0.0
v3.0.1
v3.0.0
v2.0.1
v2.0.0
v1.1.0
v1.0.0
JoltPhysics
/
Build
Jorrit Rouwe
686ab6ab85
Initial import
4 years ago
..
Android
686ab6ab85
Initial import
4 years ago
.gitignore
686ab6ab85
Initial import
4 years ago
CMakeLists.txt
686ab6ab85
Initial import
4 years ago
README.md
686ab6ab85
Initial import
4 years ago
cmake_linux_clang.sh
686ab6ab85
Initial import
4 years ago
cmake_vs2019_cl.bat
686ab6ab85
Initial import
4 years ago
cmake_vs2019_clang.bat
686ab6ab85
Initial import
4 years ago
unit_tests_coverage.bat
686ab6ab85
Initial import
4 years ago
README.md
Building Jolt Physics
Windows 10+ (CL - Default compiler)
Download Visual Studio 2019+ (Community or other edition)
Download CMake 3.15+ (
https://cmake.org/download/
)
Run cmake_vs2019_cl.bat
Open the resulting project file VS2019_CL\JoltPhysics.sln
Compile and run either 'Samples' or 'UnitTests'
Windows 10+ (Clang compiler)
Download Visual Studio 2019+ (Community or other edition)
Make sure to install "C++ Clang Compiler for Windows 11.0.0+" and "C++ Clang-cl for v142+ build tools (x64/x86)" using the Visual Studio Installer
Download CMake 3.15+ (
https://cmake.org/download/
)
Run cmake_vs2019_clang.bat
Open the resulting project file VS2019_Clang\JoltPhysics.sln
Compile and run either 'Samples' or 'UnitTests'
Linux (Debian flavor, x64 or ARM64)
Install clang (apt-get install clang)
Install cmake (apt-get install cmake)
Run: ./cmake_vs2019_cl.bat
Go to the Linux_Debug folder
Run: make -j 8 && ./UnitTests
Android
Install Android Studio 2020.3.1+ (
https://developer.android.com/studio/
)
Open the 'Android' folder in Android Studio and wait until gradle finishes
Select 'Run' / 'Run...' and 'UnitTests'
If the screen turns green after a while the unit tests succeeded, when red they failed (see the android log for details)