diff options
Diffstat (limited to 'cross')
| -rw-r--r-- | cross/wasm-emscripten.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cross/wasm-emscripten.txt b/cross/wasm-emscripten.txt new file mode 100644 index 0000000..b8d8611 --- /dev/null +++ b/cross/wasm-emscripten.txt @@ -0,0 +1,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' |