File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Tests/DiligentCoreAPITest Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 4444 uses : DiligentGraphics/github-action/configure-cmake@v1
4545 with :
4646 build-type : ${{ matrix.build_type }}
47- cmake-args : " -DDILIGENT_BUILD_CORE_INCLUDE_TEST=ON -DDILIGENT_BUILD_CORE_TESTS=ON"
47+ cmake-args : " -DDILIGENT_BUILD_CORE_INCLUDE_TEST=ON -DDILIGENT_BUILD_CORE_TESTS=ON -DDILIGENT_EMSCRIPTEN_STRIP_DEBUG_INFO=ON "
4848
4949 - name : Build
5050 if : success()
Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ if (PLATFORM_EMSCRIPTEN)
9595 set (HTML_TEMPLATE_FILE ${PROJECT_SOURCE_DIR} /resources/emscripten_template.html)
9696 target_link_options (DiligentCoreAPITest PRIVATE "SHELL: -s SINGLE_FILE -s ALLOW_MEMORY_GROWTH=1 --preload-file '${RESOURCE_PATH} @'" )
9797 target_link_options (DiligentCoreAPITest PRIVATE "SHELL: --shell-file '${HTML_TEMPLATE_FILE} '" )
98+ target_link_options (DiligentCoreAPITest PRIVATE "SHELL: -s WASM_BIGINT -s WASM=1" )
99+ if (${CMAKE_BUILD_TYPE} STREQUAL "Debug" AND DILIGENT_EMSCRIPTEN_STRIP_DEBUG_INFO)
100+ target_link_options (DiligentCoreAPITest PRIVATE "SHELL: -gseparate-dwarf -g0" )
101+ endif ()
98102endif ()
99103
100104target_link_libraries (DiligentCoreAPITest
You can’t perform that action at this time.
0 commit comments