build(wasm): libconstants can now compile to wasm and run as a wasm module

This commit is contained in:
2025-12-03 08:21:40 -05:00
parent efba74d9fe
commit 793e6528d5
7 changed files with 65 additions and 5 deletions

View File

@@ -28,9 +28,16 @@ cpp = meson.get_compiler('cpp')
subdir('assets/static')
subdir('src')
subdir('tests')
if get_option('pkg-config')
if get_option('build_tests')
subdir('tests')
endif
if get_option('build_examples')
subdir('examples')
endif
if get_option('pkg_config')
message('Generating pkg-config file for libconstants...')
pkg = import('pkgconfig')
pkg.generate(