Added missing c_arg to meson build script
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
10
meson.build
10
meson.build
@@ -9,6 +9,15 @@ project('evol-sandbox', 'c',
|
|||||||
evol_subproj = subproject('evol')
|
evol_subproj = subproject('evol')
|
||||||
evol_dep = dependency('evol')
|
evol_dep = dependency('evol')
|
||||||
|
|
||||||
|
sandbox_args = []
|
||||||
|
|
||||||
|
cc = meson.get_compiler('c')
|
||||||
|
compiler_name = cc.get_id()
|
||||||
|
if compiler_name == 'gcc'
|
||||||
|
sandbox_args += '-fms-extensions'
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# The subproject's sole purpose is to make sure that the modules build
|
# The subproject's sole purpose is to make sure that the modules build
|
||||||
subproject('evmod_glfw')
|
subproject('evmod_glfw')
|
||||||
subproject('evmod_ecs')
|
subproject('evmod_ecs')
|
||||||
@@ -35,6 +44,7 @@ sandbox_exe = executable(
|
|||||||
evmodscript_dep,
|
evmodscript_dep,
|
||||||
],
|
],
|
||||||
install : true,
|
install : true,
|
||||||
|
c_args: sandbox_args,
|
||||||
)
|
)
|
||||||
|
|
||||||
# Copy config file
|
# Copy config file
|
||||||
|
|||||||
Reference in New Issue
Block a user