Skip to content
TonoFilth edited this page Jan 5, 2016 · 1 revision

Prerequisites


Windows

Prerequisites

  • MinGW
  • EMSCRIPTEN environment variable
  • Append 'C:\MinGW\bin' (default location) to your PATH environment variable

Steps

  1. "MinGW Makefiles" generator
  2. "Specify toolchain file for cross-compiling" option
  3. Toolchain file: 'bwroot/cmake/toolchains/Emscripten.cmake'
  4. Point NODE_JS_EXECUTABLE to your node.exe (Usually at C:\Program Files\Emscripten\node)
  5. Press 'Generate'
  6. Run cmd
  7. In "build" directory run: mingw32-make
  8. Static libs can be found at: "bwroot/lib/"

If you ticked the BW_BUILD_SAMPLES CMake option, you can find the samples in 'bwroot/bin/config/'.


Mac OSX & Linux

TODO

Clone this wiki locally