summaryrefslogtreecommitdiff
path: root/meson.build
blob: 1a6986d1302060546f52caf75a9dd8fc39344d87 (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
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',
		'systemd.c',
		'utils.c']

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