From 7859746f66f2f85d6a3a68bc30eb18e18028e980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Fri, 17 Nov 2017 08:19:22 +0000 Subject: [PATCH] Add meson.build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- meson.build | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meson.build diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..e6fcf2d --- /dev/null +++ b/meson.build @@ -0,0 +1,10 @@ +project('glorytun', 'c', + version: run_command('./version.sh').stdout() +) + +add_global_arguments('-DPACKAGE_VERSION="'+meson.project_version()+'"', language : 'c') + +executable('glorytun', install: true, + sources: [ 'src/main.c', 'src/common.c', 'src/option.c', 'src/tun.c', 'src/iface.c', 'mud/mud.c' ], + dependencies: [ dependency('libsodium', version : '>=1.0.4') ] +)