From 3acbcefab505bd91335ae58ee881034d0baa4735 Mon Sep 17 00:00:00 2001 From: Thomas Joly Date: Thu, 8 Nov 2018 16:49:12 +0100 Subject: [PATCH] add meson.build --- meson.build | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meson.build diff --git a/meson.build b/meson.build new file mode 100644 index 00000000..3c395dc5 --- /dev/null +++ b/meson.build @@ -0,0 +1,14 @@ +project('jsmn', 'c') + +jsmn_inc = include_directories('src') + +jsmn_lib = static_library( + 'scaljsmnparser', + 'src/jsmn.c', + include_directories: jsmn_inc +) + +jsmn_dep = declare_dependency( + link_with: jsmn_lib, + include_directories: jsmn_inc +)