Add build instructions for emscripten
authorSathyanarayanan Gunasekaran <gsathya.ceg@gmail.com>
Mon, 10 Jun 2019 16:42:16 -0700
changeset 65197e271eca329
parent 650 66ee31359d0f
child 652 679fc3083485
Add build instructions for emscripten
Fixes #1
README-emscripten.txt
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/README-emscripten.txt	Mon Jun 10 16:42:16 2019 -0700
     1.3 @@ -0,0 +1,14 @@
     1.4 +Building SDL2_image
     1.5 +-------------------
     1.6 +
     1.7 +Step 0 - get emscripten
     1.8 +
     1.9 +Step 1 - get sdl2-emscripten
    1.10 +* clone https://github.com/gsathya/SDL-emscripten.git
    1.11 +* follow the build instructions in SDL-emscripten/README-emscripten.txt
    1.12 +
    1.13 +Step 2 - get sdl_image
    1.14 + * emconfigure ./configure  --disable-sdltest --with-sdl-prefix=/path/to/sdl --prefix=/path/to/install
    1.15 + * emmake make
    1.16 + * make install
    1.17 +