Skip to content

Commit 0554283

Browse files
committed
Disable debugging for wasm build
1 parent e68c03c commit 0554283

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ if (PATHFINDER_BUILD_DEMO)
8787
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s USE_GLFW=3 -s USE_WEBGL2=1 -s FULL_ES3=1")
8888

8989
# For debugging. Enable this to obtain detailed call stack.
90-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -gsource-map -s ASSERTIONS=2 -s SAFE_HEAP=1 -s STACK_OVERFLOW_CHECK=1 -s NO_DISABLE_EXCEPTION_CATCHING --source-map-base http://127.0.0.1:8000/")
90+
# Note: this will affect performance.
91+
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -gsource-map -s ASSERTIONS=2 -s SAFE_HEAP=1 -s STACK_OVERFLOW_CHECK=1 -s NO_DISABLE_EXCEPTION_CATCHING --source-map-base http://127.0.0.1:8000/")
9192

9293
add_subdirectory(demo/web)
9394
endif ()

0 commit comments

Comments
 (0)