sdlbomber/meson.build
2021-09-15 18:52:43 +02:00

76 lines
1.2 KiB
Meson

project(
'sdlbomber',
'c',
version: '1.0.10',
default_options: [
'warning_level=3',
'buildtype=debugoptimized',
],
)
avahi_client_dep = dependency(
'avahi-client',
)
sdl_dep = dependency(
'sdl',
)
executable(
'sdlbomber',
'src/announce.c',
'src/bomber.c',
'src/draw.c',
'src/game.c',
'src/gfx.c',
'src/list.c',
# 'src/matcher.c',
'src/menu.c',
'src/network.c',
'src/sound.c',
'src/utils.c',
override_options: [
'c_std=c17',
],
install: true,
dependencies: [
avahi_client_dep,
sdl_dep,
]
)
install_data(
'data/bigfont.pcx',
'data/blocks1.pcx',
'data/blocks1x.pcx',
'data/blocks2.pcx',
'data/blocks2x.pcx',
'data/blocks3.pcx',
'data/blocks3x.pcx',
'data/bomb1.pcx',
'data/bomb1.raw',
'data/bomb2.pcx',
'data/bomb2.raw',
'data/death.raw',
'data/death1.pcx',
'data/death2.pcx',
'data/death3.pcx',
'data/drop.raw',
'data/field0.pcx',
'data/flames.pcx',
'data/font.pcx',
'data/pal0.pcx',
'data/pal1.pcx',
'data/pal2.pcx',
'data/pal3.pcx',
'data/pal4.pcx',
'data/pal5.pcx',
'data/pal6.pcx',
'data/pal7.pcx',
'data/pal8.pcx',
'data/pal9.pcx',
'data/power1.raw',
'data/power2.raw',
'data/tiles.pcx',
'data/walk.pcx',
)