sim/meson.build

24 lines
561 B
Meson
Raw Normal View History

2023-06-19 20:46:11 +00:00
project('sim', ['c'],
version : '0.1',
license : 'ISC',
default_options : ['buildtype=debugoptimized',
'warning_level=3',
'c_std=c11'])
2023-06-21 20:22:56 +00:00
cc = meson.get_compiler('c')
m_runtime_dep = cc.find_library('m', required : false)
2023-06-19 20:46:11 +00:00
sdl2_runtime_dep = dependency('SDL2', modules : ['SDL2'])
2023-06-21 20:22:56 +00:00
sdl2_gfx_runtime_dep = dependency('SDL2_gfx')
2023-06-19 20:46:11 +00:00
sim_exe = executable('sim',
sources : [
'src/main.c',
],
dependencies : [
2023-06-21 20:22:56 +00:00
m_runtime_dep,
2023-06-19 20:46:11 +00:00
sdl2_runtime_dep,
2023-06-21 20:22:56 +00:00
sdl2_gfx_runtime_dep,
2023-06-19 20:46:11 +00:00
],
install : true)