Build: Add support building with meson

Testing:
- Verified all code build as expected in CI and unit tests passed
- Done docker Unit testing

Signed-off-by: Shantappa Teekappanavar <sbteeks@yahoo.com>
Change-Id: Iaa296f85353ceddfd40cd860d41e0a6e3abfac49
diff --git a/gen/meson.build b/gen/meson.build
new file mode 100644
index 0000000..af850f2
--- /dev/null
+++ b/gen/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+sdbuspp_gen_meson_ver = run_command(
+    sdbuspp_gen_meson_prog,
+    '--version',
+).stdout().strip().split('\n')[0]
+
+if sdbuspp_gen_meson_ver != 'sdbus++-gen-meson version 2'
+    warning('Generated meson files from wrong version of sdbus++-gen-meson.')
+    warning(
+        'Expected "sdbus++-gen-meson version 2", got:',
+        sdbuspp_gen_meson_ver
+    )
+endif
+
diff --git a/gen/org/meson.build b/gen/org/meson.build
new file mode 100644
index 0000000..6488f22
--- /dev/null
+++ b/gen/org/meson.build
@@ -0,0 +1,2 @@
+# Generated file; do not modify.
+subdir('open_power')
diff --git a/gen/org/open_power/Host/Boot/meson.build b/gen/org/open_power/Host/Boot/meson.build
new file mode 100644
index 0000000..718b2c2
--- /dev/null
+++ b/gen/org/open_power/Host/Boot/meson.build
@@ -0,0 +1,14 @@
+# Generated file; do not modify.
+generated_sources += custom_target(
+    'org/open_power/Host/Boot__cpp'.underscorify(),
+    input: [ meson.project_source_root() / 'org/open_power/Host/Boot.errors.yaml',  ],
+    output: [ 'error.cpp', 'error.hpp',  ],
+    command: [
+        sdbuspp_gen_meson_prog, '--command', 'cpp',
+        '--output', meson.current_build_dir(),
+        '--tool', sdbusplusplus_prog,
+        '--directory', meson.project_source_root(),
+        'org/open_power/Host/Boot',
+    ],
+)
+
diff --git a/gen/org/open_power/Host/meson.build b/gen/org/open_power/Host/meson.build
new file mode 100644
index 0000000..fed2c12
--- /dev/null
+++ b/gen/org/open_power/Host/meson.build
@@ -0,0 +1,16 @@
+# Generated file; do not modify.
+subdir('Boot')
+generated_others += custom_target(
+    'org/open_power/Host/Boot__markdown'.underscorify(),
+    input: [ meson.project_source_root() / 'org/open_power/Host/Boot.errors.yaml',  ],
+    output: [ 'Boot.md' ],
+    command: [
+        sdbuspp_gen_meson_prog, '--command', 'markdown',
+        '--output', meson.current_build_dir(),
+        '--tool', sdbusplusplus_prog,
+        '--directory', meson.project_source_root(),
+        'org/open_power/Host/Boot',
+    ],
+    build_by_default: true,
+)
+
diff --git a/gen/org/open_power/meson.build b/gen/org/open_power/meson.build
new file mode 100644
index 0000000..e5645b3
--- /dev/null
+++ b/gen/org/open_power/meson.build
@@ -0,0 +1,2 @@
+# Generated file; do not modify.
+subdir('Host')