Add common data structures
This adds some common data structures and functions needed for RDE BEJ.
The decoder core is written in C so that we can use this with some other
future platforms.
clang-tidy is complaining about C style header. I tried adding a
.clang-tidy-ignore file but it did not work. And since this is mainly a
C library, I deleted the .clang-tidy.
Signed-off-by: Kasun Athukorala <kasunath@google.com>
Change-Id: Ice07527b23cd00c65cd11ed114ea4faefcc085fb
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..85ffb79
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,18 @@
+project(
+ 'libbej',
+ 'c',
+ 'cpp',
+ version: '0.1',
+ meson_version: '>=0.57.0',
+ default_options: [
+ 'c_std=c18',
+ 'cpp_std=c++20',
+ 'werror=true',
+ 'warning_level=3',
+ ])
+
+libbej_incs = include_directories('include')
+subdir('src')
+if not get_option('tests').disabled()
+ subdir('test')
+endif