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
|
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('mcproxy',
mcproxy_sources,
link_args: [ '-lanl' ],
dependencies : [liburing,
libsystemd,
libcapng])
|