mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Added support in emscripten for Http:getAsync and Http::postAsync. Fixes with modal dialogs. Fixes in texture atlas editor. Fixes in UIColorPicker. Fix in UITextView text selection. Improvements in WindowSDL2. UICheckBox not uses setChecked and isChecked instead of setActive and isActive.
12 lines
560 B
Bash
Executable File
12 lines
560 B
Bash
Executable File
#!/bin/sh
|
|
# Currently latest emsdk tested and working version: latest-fastcomp
|
|
# remember to first set the environment
|
|
# source /path/to/emsdk/emsdk_env.sh
|
|
cd $(dirname "$0")
|
|
premake4 --file=../../premake4.lua --with-gles2 --with-static-eepp --platform=emscripten --with-backend=SDL2 gmake
|
|
cd ../../make/emscripten/
|
|
ln -sf ../../bin/assets/ ./
|
|
emmake make -j`nproc` $@
|
|
# Fix a bug in emscripten, see my patch: https://github.com/emscripten-core/emscripten/pull/10208
|
|
sed -i 's/function _alGetSource3f(source,/function _alGetSource3f(sourceId,/' ../../bin/*.js
|