Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 946 Bytes

CONTRIBUTING.md

File metadata and controls

26 lines (16 loc) · 946 Bytes

Contributing

Local development

The WASM outputs sdfglyph.js and sdfglyph.wasm are not committed to git. To develop the web app locally download the compiled ones from GitHub pages:

Building WASM

If you want to compile the WebAssembly components from scratch, you'll need the following:

  • The Emscripten SDK installed and activated on your machine (emcc on your path)
  • A boost installation on your machine

Clone this repository and all submodules with git clone --recursive

Use ./build_wasm.sh PATH_TO_INCLUDE_DIR to build the WASM output, where PATH_TO_INCLUDE_DIR is the directory of your local Boost install. example: ./build_wasm.sh /opt/local/include

Building command line

cmake .
make