🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
423 B

  1. #!/bin/sh
  2. EMCC=em++
  3. # Export EXR loader/saver function to JS.
  4. # TODO: export more functions
  5. # DEMANGLE_SUPPORT=1
  6. #${EMCC} -std=c++11 --bind -O2 -I../../ binding.cc --memory-init-file 0 -s TOTAL_MEMORY=67108864 -s DEMANGLE_SUPPORT=1 -s EXPORTED_FUNCTIONS="['_ParseEXRHeaderFromMemory', '_LoadEXRFromMemory']" -o tinyexr.js
  7. ${EMCC} --bind -Os -I../../ binding.cc --memory-init-file 0 -s TOTAL_MEMORY=67108864 -o tinyexr.js