diff options
Diffstat (limited to 'themes/README.md')
| -rw-r--r-- | themes/README.md | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/themes/README.md b/themes/README.md new file mode 100644 index 0000000..3425fb8 --- /dev/null +++ b/themes/README.md @@ -0,0 +1,58 @@ +# Themes +This subproject provides themes for the website. + +## Prerequisites + +- Emscripten SDK (emsdk) +- Meson build system (`pip install meson` or via your package manager) +- Ninja build backend (usually installed with Meson) + +## Building + +### Initial Setup + +```bash +meson setup builddir --cross-file emscripten.ini +``` + +### Compile + +```bash +meson compile -C builddir +``` + +The output files will be automatically copied to: +- `dist/output.js` +- `dist/output.wasm` + +The original build artifacts are also available in `builddir/` if needed. + +### Clean Build + +```bash +# Clean and rebuild +meson compile -C builddir --clean +meson compile -C builddir +``` + +### Complete Clean + +```bash +# Remove the build directory entirely +rm -rf builddir +``` + +## Build Options + +You can configure build options during setup: + +```bash +# Debug build +meson setup builddir --cross-file emscripten.ini --buildtype=debug + +# Release build with optimizations +meson setup builddir --cross-file emescripten.ini --buildtype=release + +# Reconfigure an existing build +meson configure builddir --buildtype=debug +``` |
