mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Enable emscripten assertions only for debug builds
This commit is contained in:
@@ -120,7 +120,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Emscripten")
|
||||
add_link_options(
|
||||
-fexceptions
|
||||
-sALLOW_MEMORY_GROWTH=1
|
||||
-sASSERTIONS
|
||||
$<$<CONFIG:Debug>:-sASSERTIONS>
|
||||
-sWASM_BIGINT
|
||||
-sUSE_OFFSET_CONVERTER
|
||||
-sMAXIMUM_MEMORY=4gb
|
||||
|
||||
Reference in New Issue
Block a user