irrlicht/examples/01.HelloWorld_emscripten
cutealien 4ea4f3be95 Make it easier to enable support for compiling emscripten to wasm.
Add some documentation.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@5638 dfc29bdd-3216-0410-991c-e03cc46cb475
2018-08-18 19:50:51 +00:00
..
Makefile Make it easier to enable support for compiling emscripten to wasm. 2018-08-18 19:50:51 +00:00
main.cpp Add another way to select a context in CEGLManager. 2017-10-25 17:37:07 +00:00
readme.txt Make it easier to enable support for compiling emscripten to wasm. 2018-08-18 19:50:51 +00:00
shell_minimal.html Check-in correct html for emscripten example. 2018-08-17 10:56:13 +00:00

readme.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

Emscripten is a project to compile c/c++ code int the asm.js format which can be run in some browsers.
See http://kripken.github.io/emscripten-site for more information.

emscripten support for Irrlicht is a work in process. Use at your own risk. 
Might take work and knowledge to get it running.

------------
REQUIREMENTS
------------
You have to install the emscripten environment.

----------------------------
BUILDING Irrlicht & your App
----------------------------

Linux:
Go into source/Irrlicht folder and call:
emmake make emscripten


Go into examples/01.HelloWord_emscripten folder and call:
emmake make all_emscripten

Note: The shell_minimal.html is currently not used (as resizing isn't working yet correctly), but can be enabled in the Makefile.