Skip to content

Commit 32d2ff7

Browse files
committed
🏂 Update -fdebug-compilation-dir.
1 parent 529bb81 commit 32d2ff7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/Modules/ConfigureEmscripten.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ IF(MR_EMSCRIPTEN_BUILD_DEBUG)
8383
# "-gseparate-dwarf=${CMAKE_BINARY_DIR}/bin/meshsdk.dbg.wasm" # Separate DWARF files
8484
# "-s SEPARATE_DWARF_URL='file://${CMAKE_BINARY_DIR}/bin/meshsdk.dbg.wasm'"
8585
"-gseparate-dwarf"
86+
# "-fdebug-compilation-dir=${PROJECT_SOURCE_DIR}"
87+
"-fdebug-compilation-dir=../../../source"
8688

8789

8890
# REF: `https://emscripten.org/docs/porting/exceptions.html#webassembly-exception-handling-based-support`

0 commit comments

Comments
 (0)