| 1234567891011121314151617181920212223242526272829303132333435363738 |
- 1. Start from readme.txt
- 2. emscripten build configured with CMakeFiles
- How to build. Steps:
- - Install Emscripten SDK and setup it. Minimal version 1.35.0 required
- - Install CMake
- - Installe JDK version 6/7
- - if you are Windows user you need also install Make tool:
- - Install GnuMake (http://gnuwin32.sourceforge.net/packages/make.htm) or any other
- - add it to PATH environment variable
- - Open Folder explorer > This PC > System Properties > Advanced Settings > Environmental Variables > Go to PATH > Click Edit > Add ";/your/path/here"
- - Configure environment variables properly:
- JAVA_HOME points to JDK
- example: c:\Program Files (x86)\Java\jdk1.6.0_26\
- - Add necessary paths to environment variable PATH:
- Emscripten
- example: d:\Emscripten\
- JDK
- example: "c:\Program Files (x86)\Java\jdk1.6.0_26\bin\"
- - Select any example from examples folder. For example "Demo"
- - Go to folder oxygine-framework/examples/Demo/proj.cmake
- - run: build_emsc.bat
- - Go to new created "build_emsc" folder and open Demo.html with Browser
- 2b. You could generate your own emscipten build configuration
- =================================================================================================
- - You need python 2.7 installed
- - You need to run this script
- oxygine-framework\tools\gen_template.py
- example:
- python gen_template.py MyProject -t cmake -d path/to/MyProject/
|