generated from sigonasr2/CProjectTemplate
parent
c049e41a5e
commit
9ce1560a91
@ -1,2 +1,4 @@ |
||||
build.sh |
||||
commit.sh |
||||
update.sh |
||||
web.sh |
||||
|
@ -1,2 +1,4 @@ |
||||
build.sh:50a30b43fe30f45d4b7776f1929f359e - |
||||
commit.sh:89783d2e6a165aa9612c79cfbd804a35 - |
||||
update.sh:7fda194f24fbd8779221066cbbc04b3f - |
||||
web.sh:3fdcf079bbabf079cc24c32fa7133c40 - |
||||
|
@ -0,0 +1,3 @@ |
||||
#Pulls the latest version of the repository. |
||||
# |
||||
git pull |
@ -0,0 +1,9 @@ |
||||
#Compiles emscripten instance of this project for the web. |
||||
#C++ |
||||
if [ -d "assets" ]; then |
||||
em++ -std=c++17 -O2 -s ALLOW_MEMORY_GROWTH=1 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s USE_LIBPNG=1 $(find . -type f -name "*.cpp") -o ${PROJECT_NAME}.html -I pixelGameEngine.h --preload-file ./assets |
||||
else |
||||
em++ -std=c++17 -O2 -s ALLOW_MEMORY_GROWTH=1 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s USE_LIBPNG=1 $(find . -type f -name "*.cpp") -o ${PROJECT_NAME}.html -I pixelGameEngine.h |
||||
fi |
||||
|
||||
emrun ${PROJECT_NAME}.html |
After Width: | Height: | Size: 144 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 144 KiB |
Loading…
Reference in new issue