add custom emscripten shell file

main
Moros Smith 3 months ago
parent 5e66fd009e
commit acb2cbf442
  1. 3
      CMakeLists.txt

@ -258,7 +258,8 @@ if (EMSCRIPTEN)
-sUSE_LIBPNG=1
-sLLD_REPORT_UNDEFINED)
endif()
set_target_properties(${OutputExecutable} PROPERTIES LINK_FLAGS "--shell-file ${CMAKE_CURRENT_SOURCE_DIR}/emscripten_shell.html")
endif() # Emscripten
######################################################################

Loading…
Cancel
Save