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

liburing = dependency('liburing')
libsystemd = dependency('libsystemd')
libcapng = dependency('libcap-ng')

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,
			   libcapng])