diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-10 11:22:29 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-10 11:22:29 +0200 |
commit | fae819296598100e41646e0bebc7d0bce45614f7 (patch) | |
tree | 4680a7afdc64e278fe2018f6515ad88b8a54f80e /meson.build | |
parent | a270b41d55e3ab867e7c9aabf301ce9d9c48929f (diff) |
Add initial systemd integration
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/meson.build b/meson.build index 7a89f88..1a6986d 100644 --- a/meson.build +++ b/meson.build @@ -1,18 +1,25 @@ project('mcproxy', 'c', default_options : ['c_std=gnu18']) -uring = dependency('liburing') + +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', - ['main.c', - 'uring.c', - 'server.c', - 'proxy.c', - 'announce.c', - 'cfgdir.c', - 'config.c', - 'rcon.c', - 'idle.c', - 'utils.c'], - dependencies: uring) + mcproxy_sources, + dependencies : [liburing, + libsystemd]) |