Changes from the MSVC compatibility struggle

Signed-off-by: mo7sener <robear.selwans@outlook.com>
This commit is contained in:
2021-01-26 21:55:24 +02:00
parent dcbd64ddc7
commit 5e9083ff8b
3 changed files with 7 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
project('evol-sandbox', 'c',
version : '0.1',
default_options : ['warning_level=3'])
default_options : ['warning_level=3', 'c_std=c11'])
evol_dep = dependency('evol')
@@ -9,13 +9,12 @@ subproject('evmod_glfw')
configure_file(input: 'config.lua', output: 'config.lua', copy: true)
exe = executable(
'sandbox',
'sandbox',
'src/main.c',
dependencies: [
evol_dep,
],
install : true,
export_dynamic: true,
)
test('basic', exe)