summaryrefslogtreecommitdiff
path: root/meson.build
blob: 469ca20b67c460c2b2596b931704979bf0c434a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# SPDX-FileCopyrightText: 2024 Lizzy Fleckenstein <lizzy@vlhl.dev>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

project('silly_game', 'c', default_options: ['warning_level=2'])

deps = [
	dependency('endian'),
	dependency('perlin'),
]

server = executable('server',
	sources: [
		'src/server.c',
		'src/str.c',
		'src/peer.c',
		'src/ser.c',
	],
	include_directories: 'include/',
	dependencies: [
		deps,
		dependency('libpng'),
	],
	install: true,
)

run_target('run', command: server)