COSC-3P98-Final-Project/build_emscript.sh

12 lines
387 B
Bash
Raw Normal View History

#!/bin/bash
#mkdir cmake-build-emrelease
2023-02-08 13:42:39 -05:00
rm -fr cmake-build-emrelease
emcmake cmake -DCMAKE_BUILD_TYPE=Release -DUSE_EXTRAS=ON -S ./ -B ./cmake-build-emrelease
cd cmake-build-emrelease
emmake make -j 16
cp FinalProject.js /var/www/html/emscript/
cp FinalProject.data /var/www/html/emscript/
cp FinalProject.wasm /var/www/html/emscript/
2023-03-06 23:39:25 -05:00
cp FinalProject.worker.js /var/www/html/emscript/