From c806c271c5e800a3a88ac2b6a0282540867e556e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 22 Jan 2025 13:05:44 -0800 Subject: [PATCH] Tweaked emscripten introduction --- docs/INTRO-emscripten.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/INTRO-emscripten.md b/docs/INTRO-emscripten.md index a3f3572cf1..a0541c8317 100644 --- a/docs/INTRO-emscripten.md +++ b/docs/INTRO-emscripten.md @@ -34,13 +34,14 @@ add_executable(hello WIN32 hello.c) target_link_libraries(hello PRIVATE SDL3::SDL3) ``` +Build: ```sh emcmake cmake -S . -B build cd build emmake make ``` -You can now run your app by pointing a webserver at your build directory and connecting a web browser to it, opening hello.html. +You can now run your app by pointing a webserver at your build directory and connecting a web browser to it, opening hello.html A more complete example is available at: