Mercurial > hg > piper-vamp-js
diff Makefile.example.emscripten @ 4:3a5a6535d50d
Simple test script (and associated fixes) for the JS code
author | Chris Cannam |
---|---|
date | Wed, 24 Aug 2016 10:50:40 +0100 |
parents | 6a792d8838c9 |
children | 7826fe343733 |
line wrap: on
line diff
--- a/Makefile.example.emscripten Tue Aug 23 21:46:49 2016 +0100 +++ b/Makefile.example.emscripten Wed Aug 24 10:50:40 2016 +0100 @@ -33,6 +33,7 @@ -s NO_FILESYSTEM=1 \ -s MODULARIZE=1 \ -s ERROR_ON_UNDEFINED_SYMBOLS=1 \ + -s DISABLE_EXCEPTION_CATCHING=0 \ -s EXPORT_NAME="'ExampleModule'" \ -s EXPORTED_FUNCTIONS="['_vampipeRequestJson','_vampipeFreeJson']" @@ -45,7 +46,9 @@ EXAMPLE_LDFLAGS := $(EMFLAGS) CXX := em++ -CXXFLAGS := -std=c++11 -fPIC -Wall -Wextra -g +#OPTFLAGS := -g3 +OPTFLAGS := -O3 +CXXFLAGS := -std=c++11 -fPIC -Wall -Wextra $(OPTFLAGS) INCPATH := -I$(SDK_DIR) -I.. -I../json all: $(EXAMPLE)