summaryrefslogtreecommitdiff
path: root/cross/wasm-emscripten.txt
blob: b8d8611644d32a01761edd59d75fcdb6f699c95b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[binaries]
c = 'emcc'
cpp = 'em++'
ar = 'emar'

# If pkgconfig is broken refer to this.
# https://github.com/hartenfels/meson-emscripten-example/blob/380be33d396e536b872e88f95e62b93e2f16545c/cross/emscripten.cross
pkgconfig = ['emmake', 'pkg-config']
cmake = ['emcmake', 'cmake']

exe_wrapper = 'node'

[properties]
needs_exe_wrapper = true

[host_machine]
system = 'wasm'
cpu_family = 'wasm'
cpu = 'wasm'
endian = 'little'