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

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

mcproxy_sources = [
		'main.c',
		'uring.c',
		'signal-handler.c',
		'server.c',
		'server-proxy.c',
		'server-config.c',
		'announce.c',
		'config-parser.c',
		'rcon.c',
		'idle.c',
		'ptimer.c',
		'igmp.c',
		'systemd.c',
		'utils.c']

executable('mcproxy',
	   mcproxy_sources,
	   link_args: [ '-lanl' ],
	   dependencies : [liburing,
			   libsystemd,
			   libcapng])