wasm support

This commit is contained in:
2026-03-25 19:50:21 +01:00
parent 548db30cdd
commit ab52775ba7
12 changed files with 541 additions and 57 deletions

10
CMakeLists_wasm.cmake Normal file
View File

@@ -0,0 +1,10 @@
# Emscripten/WASM build for Baudline
# Usage:
# source ~/emsdk/emsdk_env.sh
# emcmake cmake -B build_wasm -C CMakeLists_wasm.cmake
# cmake --build build_wasm
#
# This file is loaded via cmake -C (initial cache).
set(CMAKE_BUILD_TYPE Release CACHE STRING "")
set(BUILD_WASM ON CACHE BOOL "")