Skip to content

Commit

Permalink
simplify emcc
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Oct 31, 2023
1 parent 58856d6 commit 0401aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/c_examples/compile_emcc.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ do
echo "Creating dir... "
echo $READTHEDOCS_OUTPUT/html/emscripten_c_$dir/
mkdir -p $READTHEDOCS_OUTPUT/html/emscripten_c_$dir/
emcc -O3 -Isrc/ src/*.c $dir/problem.c -DOPENGL=1 -sSTACK_SIZE=655360 -s USE_GLFW=3 -s FULL_ES3=1 -sPTHREAD_POOL_SIZE=2 -s WASM_BIGINT -lwebsocket.js -sASYNCIFY --shell-file docs/c_examples/shell_rebound.html -o $READTHEDOCS_OUTPUT/html/emscripten_c_$dir/index.html
emcc -O3 -Isrc/ src/*.c $dir/problem.c -DOPENGL=1 -sSTACK_SIZE=655360 -s USE_GLFW=3 -s FULL_ES3=1 -sASYNCIFY --shell-file docs/c_examples/shell_rebound.html -o $READTHEDOCS_OUTPUT/html/emscripten_c_$dir/index.html
echo "Compiling... "
else
echo "Skipping."
Expand Down

0 comments on commit 0401aa5

Please sign in to comment.