JunsuChoi
a4afc72f33
wasm: add -flto option
...
Clang 16 of emsdk does not support `-flto=0` option.
so I temporarily add -flto option.
clang-16: error: unsupported argument '0' to option '-flto='
em++: error: '/home/junsu/dev/os/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -fignore-exceptions -fvisibility=default -I/home/junsu/dev/os/emsdk/upstream/emscripten/cache/sysroot/include/SDL --sysroot=/home/junsu/dev/os/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -O2 -Werror -fno-unroll-loops -g3 -flto=0 -c /home/junsu/dev/os/emsdk/upstream/emscripten/system/lib/embind/bind.cpp -o /home/junsu/dev/os/emsdk/upstream/emscripten/cache/build/libembind-rtti/bind.o' failed (returned 1)
2022-09-15 16:13:34 +09:00
Michal Maciola
551d83add0
WASM: revert cpp_*args into properties ( #998 )
2021-11-05 09:40:59 +01:00
Hermet Park
4d62108d81
update wasm build script
...
remove the deprecations and warnings.
2021-11-02 19:53:08 +09:00
Michal Maciola
dcbcc409df
wasm: enable png loader ( #828 )
2021-09-22 15:11:23 +02:00
Michal Maciola
7be4bf4c4f
wasm: intoduce saveTvg via File System API
...
This patch adds saveTvg() function into thorvgwasm.cpp.
Functions saves tvg using File System API.
To enable fs, changed build flag: -s FORCE_FILESYSTEM=1.
Increase in result thorvg-wasm.js size: about 68kB to about 125kB.
2021-08-28 15:35:48 +09:00
Shinwoo Kim
0c68c45ef7
thorvg viewer: introduce thorvg viewer
...
Support Emscripten wasm build for thorvg viewer
2020-10-13 19:04:46 +09:00