add meson.build
Add meson.build file with project description and default dependency
list.
Tested: meson build passed.
Change-Id: I495b665b9f64b7f000a63c085c07f6babc06327f
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..d73b2e1
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,18 @@
+project(
+ 'phosphor-modbus',
+ 'cpp',
+ default_options: ['warning_level=3', 'werror=true', 'cpp_std=c++23'],
+ license: 'Apache-2.0',
+ version: '0.1',
+ meson_version: '>=1.1.1',
+)
+
+phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces')
+phosphor_logging_dep = dependency('phosphor-logging')
+sdbusplus_dep = dependency('sdbusplus')
+
+default_deps = [
+ phosphor_dbus_interfaces_dep,
+ phosphor_logging_dep,
+ sdbusplus_dep,
+]