mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-06 08:37:59 +08:00
emscripten : fix compile warnings + update ggwave.js
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -7,11 +7,14 @@ if (GGWAVE_SUPPORT_SDL2)
|
||||
|
||||
if (EMSCRIPTEN)
|
||||
set(CMAKE_CXX_FLAGS " \
|
||||
-s USE_SDL=2 \
|
||||
-s DISABLE_EXCEPTION_CATCHING=0 \
|
||||
")
|
||||
|
||||
set(CMAKE_CXX_LINK_FALGS " \
|
||||
--bind \
|
||||
-s TOTAL_MEMORY=67108864 \
|
||||
-s USE_SDL=2 \
|
||||
-s ASSERTIONS=1 \
|
||||
-s DISABLE_EXCEPTION_CATCHING=0 \
|
||||
-s 'EXTRA_EXPORTED_RUNTIME_METHODS=[\"writeArrayToMemory\"]' \
|
||||
")
|
||||
|
||||
|
||||
2
examples/third-party/ggsock
vendored
2
examples/third-party/ggsock
vendored
Submodule examples/third-party/ggsock updated: c30266dc37...8f024e4aa5
Reference in New Issue
Block a user