Building for web using meson
This commit is contained in:
parent
66b5807368
commit
73c3e48c56
6 changed files with 74 additions and 11 deletions
|
|
@ -50,11 +50,15 @@ endif
|
|||
add_global_arguments(args, language : 'd')
|
||||
add_global_link_arguments(link_args, language : 'd')
|
||||
|
||||
if host_machine.cpu_family() == 'wasm32'
|
||||
add_global_arguments('--output-bc', language : 'd') # Adding it in cross files breaks linker detection
|
||||
endif
|
||||
|
||||
|
||||
# Dependencies
|
||||
threads_dep = dependency('threads')
|
||||
|
||||
ecs_lib = library('decs',
|
||||
src,
|
||||
ecs_lib = library('decs', src,
|
||||
include_directories : [inc],
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue