Add meson build
This commit is to add meson build.
And later, we will remove Autotools and replace it with meson build.
In addition, fixed Layout::LedAction construct parameter error in test
file.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I58c9a2c9de928db288e77ca2d6aa807d36e70144
diff --git a/fault-monitor/meson.build b/fault-monitor/meson.build
new file mode 100644
index 0000000..ef7dfd1
--- /dev/null
+++ b/fault-monitor/meson.build
@@ -0,0 +1,14 @@
+fault_monitor_sources = [
+ generated_sources,
+ 'fru-fault-monitor.cpp',
+ 'monitor-main.cpp',
+]
+
+executable(
+ 'phosphor-fru-fault-monitor',
+ fault_monitor_sources,
+ include_directories: ['.', '../', '../gen'],
+ dependencies: deps,
+ install: true,
+ install_dir: get_option('bindir')
+)