Initial D-Bus interface
This sets up an initial D-Bus interface without any real functionality.
It doesn't interact with any storage hardware yet.
The yaml files are included temporarily until the
phosphor-dbus-interfaces review is complete:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/48636
The .clang-tidy file has been removed because clang-tidy can't filter
out the generated files. It should be re-enabled when we no longer need
to generate the D-Bus sources in this repo.
Signed-off-by: John Edward Broadbent <jebr@google.com>
Change-Id: If704e69ef7225257efc7c865424df4421999f62d
Signed-off-by: John Wedig <johnwedig@google.com>
diff --git a/src/meson.build b/src/meson.build
new file mode 100644
index 0000000..046ae47
--- /dev/null
+++ b/src/meson.build
@@ -0,0 +1,27 @@
+
+libeStoraged_deps = [
+ dependency('sdbusplus'),
+ eStoraged_dbus,
+]
+
+libeStoraged_lib = static_library(
+ 'eStoraged-lib',
+ 'estoraged.cpp',
+ include_directories : eStoraged_headers,
+ implicit_include_directories: false,
+ dependencies: libeStoraged_deps,
+)
+
+libeStoraged = declare_dependency(
+ dependencies: libeStoraged_deps,
+ include_directories: eStoraged_headers,
+ link_with: libeStoraged_lib)
+
+executable(
+ 'eStoraged',
+ 'main.cpp',
+ implicit_include_directories: false,
+ dependencies: libeStoraged,
+ install: true,
+ install_dir: get_option('bindir')
+)