programming_tutorials/wip/09_sdl_opengl_1/compile_js.sh

11 lines
215 B
Bash
Executable File

#source ~/SDKs/emsdk/emsdk_env.sh
#saját fodítás
#em++ main.cpp libs/SDL2-js/lib/libSDL2.a -o game.html \
# -Ilibs/SDL2-js/include \
# -Ilibs/SDL2-js/lib
em++ main.cpp -o bin/game_js.html -s USE_SDL=2