Building for web using meson
This commit is contained in:
parent
66b5807368
commit
73c3e48c56
6 changed files with 74 additions and 11 deletions
24
emscripten.ini
Normal file
24
emscripten.ini
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[constants]
|
||||
emscripten_path = '/home/pc/prog/ecs/emsdk/upstream/emscripten'
|
||||
ldc_path = '/home/pc/dlang/ldc-1.25.0/bin'
|
||||
|
||||
[binaries]
|
||||
emcc = emscripten_path / 'emcc'
|
||||
c = emscripten_path / 'emcc'
|
||||
cpp = emscripten_path / 'em++'
|
||||
ar = emscripten_path / 'emar'
|
||||
d = ldc_path / 'ldc2'
|
||||
|
||||
[properties]
|
||||
needs_exe_wrapper = true
|
||||
|
||||
|
||||
[built-in options]
|
||||
d_args = ['-mtriple=wasm32-unknown-unknown-wasm', '--d-version=ECSEmscripten']
|
||||
default_library = 'static'
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = 'wasm32'
|
||||
cpu = 'wasm32'
|
||||
endian = 'little'
|
||||
Loading…
Add table
Add a link
Reference in a new issue