Archived
1
Fork 0

Compile on web with debug symbols

This commit is contained in:
Joshua Goins 2022-02-18 17:38:11 -05:00
parent e73c610fc6
commit 71fb011bd0

View file

@ -68,6 +68,8 @@ endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL "Emscripten")
message("Web build detected!")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
set(ENABLE_WEB TRUE)
set(ENABLE_WEBGPU TRUE)
endif()