From 6132b5d4fe96c6b58da67bc3ba20171179f76c54 Mon Sep 17 00:00:00 2001 From: David Reid Date: Thu, 16 Mar 2023 12:29:15 +1000 Subject: [PATCH] Update tests readme regarding the Emscripten build. --- tests/_build/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/_build/README.md b/tests/_build/README.md index 07dbb519..fe1661a0 100644 --- a/tests/_build/README.md +++ b/tests/_build/README.md @@ -11,9 +11,9 @@ Output files will be placed in the "res/output" folder. Emscripten ---------- On Windows, you need to move into the build and run emsdk_env.bat from a command prompt using an absolute -path like "C:\emsdk\emsdk_env.bat". Note that PowerShell doesn't work for me for some reason. Examples: +path like "C:\emsdk\emsdk_env.bat". Note that PowerShell doesn't work for me for some reason. Example: - emcc ../test_emscripten/ma_test_emscripten.c -o bin/test_emscripten.html-sAUDIO_WORKLET=1 -sWASM_WORKERS=1 -sASYNCIFY -DMA_ENABLE_AUDIO_WORKLETS -Wall -Wextra + emcc ../test_emscripten/ma_test_emscripten.c -o bin/test_emscripten.html -sAUDIO_WORKLET=1 -sWASM_WORKERS=1 -sASYNCIFY -DMA_ENABLE_AUDIO_WORKLETS -Wall -Wextra If you output WASM it may not work when running the web page locally. To test you can run with something like this: