24 lines
561 B
Meson
24 lines
561 B
Meson
project('sim', ['c'],
|
|
version : '0.1',
|
|
license : 'ISC',
|
|
default_options : ['buildtype=debugoptimized',
|
|
'warning_level=3',
|
|
'c_std=c11'])
|
|
|
|
cc = meson.get_compiler('c')
|
|
m_runtime_dep = cc.find_library('m', required : false)
|
|
|
|
sdl2_runtime_dep = dependency('SDL2', modules : ['SDL2'])
|
|
sdl2_gfx_runtime_dep = dependency('SDL2_gfx')
|
|
|
|
sim_exe = executable('sim',
|
|
sources : [
|
|
'src/main.c',
|
|
],
|
|
dependencies : [
|
|
m_runtime_dep,
|
|
sdl2_runtime_dep,
|
|
sdl2_gfx_runtime_dep,
|
|
],
|
|
install : true)
|