Add meson.build

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2017-11-17 08:19:22 +00:00
parent c3b8c44c68
commit 7859746f66

10
meson.build Normal file
View File

@@ -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') ]
)