From bc13d9f3af1d5114e47b75633c4fd5578214b460 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Sun, 5 Apr 2020 22:02:48 +0800 Subject: add meson build system --- src/skey/meson.build | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/skey/meson.build (limited to 'src/skey') diff --git a/src/skey/meson.build b/src/skey/meson.build new file mode 100644 index 0000000..0560e47 --- /dev/null +++ b/src/skey/meson.build @@ -0,0 +1,27 @@ +libskey = static_library( + 'skey', + sources : [ + 'btoe.c', + 'btoe.h', + 'skey.h', + 'skey.c', + 'skeyutil.h', + 'skeyutil.c', + 'md4.c', + 'md4.h', + 'md5.c', + 'md5.h', + 'sha1.h', + 'sha1.c', + ], + dependencies : term_deps, + install: false, +) + +t=executable('testskey', + 'test.c', + link_with : [libskey], + dependencies : term_deps, +) + +test('test skey', t) -- cgit v1.2.1