Skip to content

Commit 2eb5d9d

Browse files
committed
Enable assertions in Emscripten build for debugging (CMake configuration).
NP-1172
1 parent 4fc5eda commit 2eb5d9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libnest2d_js/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ target_link_options(libnest2d_js
5555
"SHELL:-l embind"
5656
"SHELL: --emit-tsd libnest2d_js.d.ts"
5757
"SHELL:-sWASM_BIGINT=1"
58+
"SHELL:-sASSERTIONS=1"
59+
5860
)
5961

6062
# If you want to enable debug options, add them conditionally:

0 commit comments

Comments
 (0)