From 831e814ce9bdb84e86c06c4a52008f6bdaaa00d6 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 16 Nov 2018 00:24:51 +0800 Subject: =?UTF-8?q?*=E5=90=88=E5=B9=B6master=E5=88=B0minimal=E5=88=86?= =?UTF-8?q?=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vc++/libs/SDL2-2.0.5/docs/README-emscripten.md | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 build/vc++/libs/SDL2-2.0.5/docs/README-emscripten.md (limited to 'build/vc++/libs/SDL2-2.0.5/docs/README-emscripten.md') diff --git a/build/vc++/libs/SDL2-2.0.5/docs/README-emscripten.md b/build/vc++/libs/SDL2-2.0.5/docs/README-emscripten.md deleted file mode 100644 index 9712084..0000000 --- a/build/vc++/libs/SDL2-2.0.5/docs/README-emscripten.md +++ /dev/null @@ -1,35 +0,0 @@ -Emscripten -================================================================================ - -Build: - - $ mkdir build - $ cd build - $ emconfigure ../configure --host=asmjs-unknown-emscripten --disable-assembly --disable-threads --disable-cpuinfo CFLAGS="-O2" - $ emmake make - -Or with cmake: - - $ mkdir build - $ cd build - $ emcmake cmake .. - $ emmake make - -To build one of the tests: - - $ cd test/ - $ emcc -O2 --js-opts 0 -g4 testdraw2.c -I../include ../build/.libs/libSDL2.a ../build/libSDL2_test.a -o a.html - -Uses GLES2 renderer or software - -Some other SDL2 libraries can be easily built (assuming SDL2 is installed somewhere): - -SDL_mixer (http://www.libsdl.org/projects/SDL_mixer/): - - $ EMCONFIGURE_JS=1 emconfigure ../configure - build as usual... - -SDL_gfx (http://cms.ferzkopp.net/index.php/software/13-sdl-gfx): - - $ EMCONFIGURE_JS=1 emconfigure ../configure --disable-mmx - build as usual... -- cgit v1.1-26-g67d0