From 2be5c82e332f8a7d8dc1d7abc64d94eb2f5b39d2 Mon Sep 17 00:00:00 2001 From: Jennifer Chukwu Date: Tue, 29 Oct 2024 01:40:05 +0100 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 68ca144..85318d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,6 +104,7 @@ if(EMSCRIPTEN) set_target_properties(CuriousX PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/CompilerEditor" ) + set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -g -s ASSERTIONS=1") target_link_options(CuriousX PRIVATE --bind -s DISABLE_EXCEPTION_CATCHING=0) message(STATUS "Building with Emscripten support") endif()