Compile on web with debug symbols
This commit is contained in:
parent
e73c610fc6
commit
71fb011bd0
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ endif()
|
||||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Emscripten")
|
if(${CMAKE_SYSTEM_NAME} STREQUAL "Emscripten")
|
||||||
message("Web build detected!")
|
message("Web build detected!")
|
||||||
|
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
|
||||||
|
|
||||||
set(ENABLE_WEB TRUE)
|
set(ENABLE_WEB TRUE)
|
||||||
set(ENABLE_WEBGPU TRUE)
|
set(ENABLE_WEBGPU TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
Reference in a new issue