mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
jolt build folder
This commit is contained in:
parent
8acf7da95b
commit
4beee81c12
48 changed files with 1556 additions and 0 deletions
19
Engine/lib/JoltPhysics/Build/cmake_linux_emscripten.sh
Normal file
19
Engine/lib/JoltPhysics/Build/cmake_linux_emscripten.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -z $1 ]
|
||||
then
|
||||
BUILD_TYPE=Debug
|
||||
else
|
||||
BUILD_TYPE=$1
|
||||
shift
|
||||
fi
|
||||
|
||||
BUILD_DIR=WASM_$BUILD_TYPE
|
||||
|
||||
echo Usage: ./cmake_linux_emscripten.sh [Configuration]
|
||||
echo "Possible configurations: Debug (default), Release, Distribution"
|
||||
echo Generating Makefile for build type \"$BUILD_TYPE\" in folder \"$BUILD_DIR\"
|
||||
|
||||
cmake -S . -B $BUILD_DIR -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake "${@}"
|
||||
|
||||
echo Compile by running \"make -j $(nproc) \&\& node UnitTests.js\" in folder \"$BUILD_DIR\"
|
||||
Loading…
Add table
Add a link
Reference in a new issue