summaryrefslogtreecommitdiff
path: root/meson.build
blob: 69fd4e55a60bc1a93f694e557fc88260327c9e51 (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
project('mcproxy', 'c', default_options : ['c_std=gnu18'])

liburing = dependency('liburing')
libsystemd = dependency('libsystemd')

mcproxy_sources = [
		'main.c',
		'uring.c',
		'server.c',
		'proxy.c',
		'announce.c',
		'cfgdir.c',
		'config.c',
		'rcon.c',
		'idle.c',
		'igmp.c',
		'systemd.c',
		'utils.c']

executable('ctest', 'ctest.c')
executable('stest', 'stest.c')
executable('mcproxy',
	   mcproxy_sources,
	   dependencies : [liburing,
			   libsystemd])