summaryrefslogtreecommitdiff
path: root/cross/wasm.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cross/wasm.txt')
-rw-r--r--cross/wasm.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/cross/wasm.txt b/cross/wasm.txt
new file mode 100644
index 000000000..a43636fde
--- /dev/null
+++ b/cross/wasm.txt
@@ -0,0 +1,19 @@
+[binaries]
+c = '/home/jpakkane/emsdk/fastcomp/emscripten/emcc'
+cpp = '/home/jpakkane/emsdk/fastcomp/emscripten/em++'
+ar = '/home/jpakkane/emsdk/fastcomp/emscripten/emar'
+
+[properties]
+
+c_args = ['-s', 'WASM=1', '-s', 'EXPORT_ALL=1']
+c_link_args = ['-s','EXPORT_ALL=1']
+cpp_args = ['-s', 'WASM=1', '-s', 'EXPORT_ALL=1']
+cpp_link_args = ['-s', 'EXPORT_ALL=1']
+
+[host_machine]
+
+system = 'emscripten'
+cpu_family = 'wasm32'
+cpu = 'wasm32'
+endian = 'little'
+