feat(initial): added portable mfem build system
This commit is contained in:
21
cross/wasm32.ini
Normal file
21
cross/wasm32.ini
Normal file
@@ -0,0 +1,21 @@
|
||||
[binaries]
|
||||
c = 'emcc'
|
||||
cpp = 'em++'
|
||||
ar = 'emar'
|
||||
strip = 'emstrip'
|
||||
exe_wrapper = 'node'
|
||||
|
||||
[built-in options]
|
||||
c_args = ['-O1']
|
||||
cpp_args = ['-O1', '-fwasm-exceptions']
|
||||
c_link_args = ['-O1', '-sALLOW_MEMORY_GROWTH=1']
|
||||
cpp_link_args = ['-O1', '-fwasm-exceptions', '-sALLOW_MEMORY_GROWTH=1']
|
||||
|
||||
[host_machine]
|
||||
system = 'emscripten'
|
||||
cpu_family = 'wasm32'
|
||||
cpu = 'wasm32'
|
||||
endian = 'little'
|
||||
|
||||
[properties]
|
||||
needs_exe_wrapper = true
|
||||
Reference in New Issue
Block a user